Commit Graph

19 Commits (6e9c13d5d842753a7c480403954c3e7978c79ec1)

Author SHA1 Message Date
junos 6e9c13d5d8 Add more call features.
The total duration of calls and maximum duration by type.
The number of all calls and ratio of incoming and outgoing calls.
2021-05-07 15:18:56 +02:00
junos 81080f7504 Use Collection from collections.abc instead of typing.List. 2021-05-07 12:44:34 +02:00
junos 9301d9ec7f Enumerate contacts by grouping by participant ID first.
Previously, enumeration worked for only one participant.
2021-04-09 16:01:53 +02:00
junos e6d129c6ee Add a method to get participant usernames and its test. 2021-04-07 15:43:07 +02:00
junos b7b60294ba Add a (useless?) test for features.communication.count_comms.
Formatting.
2021-04-06 17:12:36 +02:00
junos 9e16d329dd Improve formatting. 2021-04-06 11:48:37 +02:00
junos 29b664c41b Add a method to enumerate contacts and a method to test this with call data. 2021-02-02 16:20:46 +01:00
junos 0bc66ce4b9 Establish the session in class methods.
These are only called once, not before and after every test.
2021-02-02 15:44:53 +01:00
junos dfb4236769 Add a method to enumerate contacts and appropriate tests. 2021-02-01 18:24:24 +01:00
junos b2d93e0686 Add a method to get Calls data.
Add a test for this.
2021-01-05 17:00:45 +01:00
junos 98f945add1 Imrpove code formatting. 2020-12-31 14:33:44 +01:00
junos f542a37955 Inherit from AWARESensor correctly.
Two additional tests to check getting a participant and some data.
2020-12-31 14:29:35 +01:00
junos 30bae2c1f9 Configure tests as a module. 2020-12-31 11:50:57 +01:00
junos 8d114ebb13 Use SQLAlchemy to connect to DB. 2020-12-24 16:06:23 +01:00
junos 33d048d11b Remove pre-commit hooks.
Because PyCharm does not activate conda environment, this doesn't work properly.
I left in the formatting tools (black, isort etc.) which can be used manually.
2020-12-24 14:38:52 +01:00
junos 82ef8c4d40 Set the DB variables in setup.py 2020-12-24 14:29:47 +01:00
junos c6e984f2f9 Test database connection 2020-12-24 14:11:58 +01:00
junos e8b5f93401 Reformat code. 2020-12-24 14:08:31 +01:00
junos c735ff7a85 Test that the environment variable was set. 2020-12-24 14:04:02 +01:00