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

borisbu / OctoRelay / 5671185222 / 6
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Ran 26 Jul 2023 04:15PM UTC
Files 1
Run time 0s
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

26 Jul 2023 04:14PM UTC coverage: 100.0%. Remained the same
5671185222.6

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.

195 of 195 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job python-3.8-octoprint-1.9 - 5671185222.6
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5671185222
  • e08df0fd on github
  • Prev Job for on develop (#5668562679.8)
  • Next Job for on develop (#5671190732.1)
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