remove debug prints in tests

pull/549/head
Christof Dorner 2023-03-23 19:13:42 +01:00
rodzic 82a0c8f791
commit caf3745890
1 zmienionych plików z 0 dodań i 4 usunięć

Wyświetl plik

@ -362,9 +362,7 @@ def test_inbound_posts(
InboxMessage.objects.create(message=message)
# Run stator and ensure that made the post
print("prestat")
stator.run_single_cycle_sync()
print("poststat")
post = Post.objects.get(object_uri="https://remote.test/test-post")
assert post.content == "post version one"
assert post.published.day == 13
@ -446,9 +444,7 @@ def test_inbound_posts(
InboxMessage.objects.create(message=message)
# Run stator and ensure that made the post
print("prestat")
stator.run_single_cycle_sync()
print("poststat")
post = Post.objects.get(object_uri="https://remote.test/test-map-only")
assert post.content == "post with only content map"
assert post.published.day == 13