Move /t_ms delta class parsing to separate file and add tests

This commit is contained in:
Mads Marquart
2020-01-20 18:02:55 +01:00
parent 0696ff9f4b
commit 4abe5659ae
8 changed files with 522 additions and 281 deletions

View File

@@ -8,7 +8,14 @@ from fbchat import Message, Mention
@pytest.fixture(scope="session")
def session():
return object() # TODO: Add a mocked session
class FakeSession:
# TODO: Add a further mocked session
user_id = "31415926536"
def __repr__(self):
return "<FakeSession>"
return FakeSession()
@pytest.fixture(scope="session")