Commit graph

28 commits

Author SHA1 Message Date
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
0b38562b4a
Merge branch 'master' into docker 2019-06-15 00:12:45 -05:00
Brian Martin
6b2ed31c9e remove first run prompt - fix tests
remove first run prompt, default to generate certs
fix tests
2019-06-10 22:10:18 -04:00
Brian Martin
d8b2d02ca4 remove extra listeners
removed service_listeners and using bumper_listen
2019-06-09 21:16:37 -04:00
Brian Martin
4fb7b63863 Update test_z_problem.py
fix for windows tests
2019-06-08 16:55:42 -04:00
Brian Martin
b7aea02444 Update test_z_problem.py
fix bad test
2019-06-08 16:49:11 -04:00
Brian Martin
1f0e417760 no more start_bumper
remove start_bumper
- built into __main__ + __init__
- add tests
2019-06-08 16:45:52 -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
72f3b5d049 change execution
bumper.start/shutdown
- allow envionrment variables (prep for docker)
- move bumper.db to new "data" directory
start_bumper reworked
- use argparse
2019-06-06 22:46:40 -04:00
Brian Martin
29356c9849 add confserver tests
add confserver tests
2019-06-04 23:46:28 -04:00
Brian Martin
2a4c369d58 add more xmpp tests
- test xmpp server
- test starttls upgrade
2019-06-04 22:20:11 -04:00
Brian Martin
105f0ad632 more mqtt tests
more mqtt tests
2019-06-04 17:29:39 -04:00
Brian Martin
0cb5c0b4f3 add test_mqttserver.py
add test_mqttserver.py
2019-06-04 09:57:45 -04:00
Brian Martin
3060e7db20 remove iq auth
Remove old iq auth that is replaced by sasl
2019-06-03 16:41:52 -04:00
Brian Martin
9d95cbd606 rename test_bumper to test_init
- rename test_bumper to test_init
- added more xmppserver tests
2019-06-03 15:48:24 -04:00
Brian Martin
bcafa83c65 update travis and appveyor configs
update travis and appveyor configs to run pytest instead of nosetests
2019-06-03 09:55:22 -04:00
Brian Martin
615c6011ed add test_xmppserver.py
Add new test_xmppserver.py
- first connect test
2019-06-03 09:04:16 -04:00
Brian Martin
d4414bd150 Reworking tests
Reworking tests with pytest
2019-05-31 22:06:54 -04:00
Brian Martin
d2ebe12145 Split README into docs
Splitting README into docs to make it shorter and easier to maintain.

- Change to os_db_path adding createdir so tests can skip creation of the path
2019-05-30 09:13:19 -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
Brian Martin
616729e97f full coverage for init
full coverage for init
- 100% coverage of db operations
2019-03-13 21:07:29 -04:00
Brian Martin
98b65bb808 first test
first test
2019-03-11 23:14:50 -04:00