• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

borisbu / OctoRelay / 5671185222
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Ran 26 Jul 2023 04:15PM UTC
Jobs 9
Files 2
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
5671185222

push

github

web-flow
Relay switching permission (#100)

* Sample custom permission.

* Updating test_exposed_hooks.

* Add test_get_additional_permissions().

* Prohibit execution of the API command 'update' without permission.

* Ref: extracting has_switch_permission().

* Mocking permissions in test_on_api_command.

* Add test_has_switch_permission.

* Ref: naming the role - switch.

* Ref: minor.

* Template: avoid showing buttons initially.

* Testing the exception.

* Avoid showing buttons without permission.

* Mocking permissions in test.

* Using Mock with return_value and side_effect for testing.

* Testing that UI depends on the permission now.

* Ref: keeping new function near.

* Prohibiting auto ON as initial startup event without permission.

* Updating the test_on_after_startup.

* More assertions and test constraints on permissions checking.

* Prohibit auto ON/OFF without permission.

* Adjusting permissions in test.

* Ref: moving case-level mocking into the case cycle.

* Ref: update permission name and description.

* Changelog: the future version 2.1.0.

* Readme: updating the setup section.

* Revert: no permission check other than for API commands.

* Changelog: adjusting the description.

* Hiding icons in UI based on the permission.

* Fix: restore test naming.

* Minor: reducing diff.

* Ref: replacing .call() with a regular call since using self.

* Testing negative permission.

* Testing the last branch: permission not present.

* Minor: typo.

* Update octoprint_octorelay/test__init.py

* Ref: minor, type.

11 of 11 branches covered (100.0%)

Branch coverage included in aggregate %.

15 of 15 new or added lines in 2 files covered. (100.0%)

231 of 231 relevant lines covered (100.0%)

7.2 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python-3.8-octoprint-1.8 - 5671185222.1 26 Jul 2023 04:15PM UTC 0
100.0
GitHub Action Run
2 ui - 5671185222.2 26 Jul 2023 04:15PM UTC 0
100.0
GitHub Action Run
3 python-3.11-octoprint-1.9 - 5671185222.3 26 Jul 2023 04:15PM UTC 0
100.0
GitHub Action Run
4 python-3.7-octoprint-1.8 - 5671185222.4 26 Jul 2023 04:15PM UTC 0
100.0
GitHub Action Run
5 python-3.9-octoprint-1.9 - 5671185222.5 26 Jul 2023 04:15PM UTC 0
100.0
GitHub Action Run
6 python-3.8-octoprint-1.9 - 5671185222.6 26 Jul 2023 04:15PM UTC 0
100.0
GitHub Action Run
7 python-3.10-octoprint-1.9 - 5671185222.7 26 Jul 2023 04:15PM UTC 0
100.0
GitHub Action Run
8 python-3.9-octoprint-1.8 - 5671185222.8 26 Jul 2023 04:15PM UTC 0
100.0
GitHub Action Run
9 python-3.7-octoprint-1.9 - 5671185222.9 26 Jul 2023 04:15PM UTC 0
100.0
GitHub Action Run
Source Files on build 5671185222
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #5671185222
  • e08df0fd on github
  • Prev Build on develop (#5668562679)
  • Next Build on develop (#5671190732)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc