Commit Graph

6 Commits

Author SHA1 Message Date
gcarq a4b2f4e4b9 Fix application state and add new optional config attribute: "initial_state"
* Move State handling to misc, to avoid circular imports
* Add optional config attribute "initial_state"
2017-09-09 00:31:40 +02:00
gcarq 996beae770 pylint fixes 2017-09-08 23:10:22 +02:00
gcarq 689cd11a6c use inmemory db for tests 2017-09-08 21:39:31 +02:00
gcarq 4ec2ac6d60 add more tests for rpc.telegram 2017-09-08 20:03:45 +02:00
gcarq c737041acb add some tests for rpc.teleram 2017-09-08 19:25:12 +02:00
gcarq 3473fd3c90 major refactoring to allow proper testing
This commit includes:
* Reducing complexity of modules
* Remove unneeded wrapper classes
* Implement init() for each module which
  initializes everything based on the config
* Implement some basic tests
2017-09-08 15:51:00 +02:00