Commit graph

22 commits

Author SHA1 Message Date
Robert Resch
04bd6b3ef0 run pyupgrade 2022-01-30 10:33:37 +01:00
Brian Martin
e4130e4626 re-enable log_all_requests
re-enable log_all_request
- with excludelogging for internal
2020-01-03 14:24:26 -05:00
Brian Martin
6da98acdad fix tests
- added kwargs for mqttserver init
  - passwd_file and allow_anonymous

- removed unused tests and sleeps
2020-01-03 08:57:02 -05:00
Brian Martin
cb693b5cf6 sleep a bit
tests work locally, seeing if added sleeps fix CI
2020-01-03 01:43:56 -05:00
Brian Martin
63e0620f0c add remove bot and client 2020-01-03 01:33:31 -05:00
Brian Martin
2d5e4e17a0 Update test_confserver.py
-fix tests, missing xmpp server for base
2020-01-02 09:21:15 -05:00
Brian Martin
75aa74f39c
Merge branch 'master' into extend-confserver-logging 2019-12-30 16:01:06 -05:00
Brian Martin
5219ab06ab Add tests and fix restart mqtt
Add tests and fix restart mqtt
2019-12-30 15:53:40 -05:00
Brian Martin
18f3a807f1 add image for bots in ecovacs home
add endpoint for /api/pim/file/get so an image is displayed for bots in the ecovacs home app
2019-12-27 11:51:31 -05:00
Brian Martin
e690436a37 handle #55
Better handling if a bot is missing a DID, which could be a corrupt or outdated database.
2019-10-19 15:06:08 -04:00
Brian Martin
40d4af3f80 fixing the broken tests
leftover helperbot= in tests causing failures....
2019-06-20 08:59:15 -04:00
Brian Martin
58b3567887 split models and db from init
Move models into their own file
Move db functions into their own file
Update tests
2019-06-19 09:29:45 -04:00
Brian Martin
76528d1500 fix tests during wip
- Comment out test_base until api stablizes
2019-06-19 08:10:11 -04:00
Brian Martin
7637dfca6e get tests to 100
get tests to 100% cov
2019-06-07 19:52:20 -04:00
Brian Martin
422a28cd8d fix tests
fix tests broken by lack of certs
- pytest.ini provides environment variables that load tests/test_certs
2019-06-07 02:00:42 -04:00
Brian Martin
29356c9849 add confserver tests
add confserver tests
2019-06-04 23:46:28 -04:00
Brian Martin
d4414bd150 Reworking tests
Reworking tests with pytest
2019-05-31 22:06:54 -04:00
Brian Martin
c3098e03e4 Format with black
Formatting code with black
- pipenv update
2019-05-30 06:55:15 -04:00
Brian Martin
7dc2504f2b Fix confserver test and add dev pbr
Fix confserver test and add dev pbr
2019-05-23 09:20:17 -04:00
Brian Martin
4080f0f950 More confserver tests
More confserver tests, coverage 75%
2019-03-17 11:02:53 -04:00
Brian Martin
5392bef74f Additional tests for confserver
Additional tests for confserver
2019-03-15 09:05:54 -04:00
Brian Martin
747eeda4a5 Start adding tests for confserver
Start adding tests for confserver
2019-03-14 09:35:37 -04:00