Fix socials timestamp (#50)
* Fix Dockerfile per dipendenze di X * time --> timestamp * fix X command
This commit was merged in pull request #50.
This commit is contained in:
committed by
GitHub
parent
08774bee1b
commit
6a9d8b354b
@@ -19,7 +19,7 @@ class TestRedditWrapper:
|
||||
assert len(posts) == 2
|
||||
for post in posts:
|
||||
assert post.title != ""
|
||||
assert re.match(r'\d{4}-\d{2}-\d{2}', post.time)
|
||||
assert re.match(r'\d{4}-\d{2}-\d{2}', post.timestamp)
|
||||
|
||||
assert isinstance(post.comments, list)
|
||||
assert len(post.comments) <= MAX_COMMENTS
|
||||
|
||||
Reference in New Issue
Block a user