kopia lustrzana https://github.com/jointakahe/takahe
remove debug prints in tests
rodzic
82a0c8f791
commit
caf3745890
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue