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

borisbu / OctoRelay / 5737008211 / 16
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Ran 02 Aug 2023 09:17AM UTC
Files 3
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

02 Aug 2023 09:16AM UTC coverage: 100.0%. Remained the same
5737008211.16

push

github

web-flow
DNRY: Relay driver (#138)

* Sample relay driver.

* Changing the order of arguments in constructor.

* Making toggle() to return the new state.

* Making an import.

* Making toggle() argument optional.

* Add type to optional argument.

* Draft test for the driver constructor.

* Fix type of optional argument.

* Fix unused import.

* Constructed props assertions.

* Add serialization test.

* Testing close() method.

* Test for open().

* Ref: reusing toggle method for opening and closing.

* Ref: explainatory naming.

* Test for get_pin_state().

* Test for is_closed().

* Testing toggle() method without argument.

* Pin state assertions for toggle().

* Fix running the tests.

* Fixing get pin state assertions.

* Revert "Fixing get pin state assertions."

This reverts commit a0e75daf8.

* Check that GPIO is mocked.

* runtime patching of GPIO in driver test.

* Revert "runtime patching of GPIO in driver test."

This reverts commit d404b7496.

* Runtime patch for RPi.

* Revert "Runtime patch for RPi."

This reverts commit 383f4fa3c.

* Mocking within test class lifecycle methods.

* Revert "Mocking within test class lifecycle methods."

This reverts commit 308ff39d4.

* Common mocking of GPIO for all tests.

* Revert "Common mocking of GPIO for all tests."

This reverts commit 2c6bae554.

* Reusing mocked module (temp solution).

* No disabling warnings in main module init.

* Integrating the driver into on_after_startup method.

* Integrating the driver into API command LIST_ALL.

* Integrating the driver for GET_STATUS command.

* Fix lint.

* Integrating the driver into update_relay method.

* Integrating the driver into turn_off_pin and turn_on_pin methods.

* Integrating the driver into update_ui metho... (continued)

225 of 225 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job python-3.8-octoprint-1.5 - 5737008211.16
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5737008211
  • 6c6adfc8 on github
  • Prev Job for on develop (#5720880011.6)
  • Next Job for on develop (#5737385921.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