pull/1/head
Thomas Sileo 2018-06-12 00:29:53 +02:00
rodzic 0a1ac4c5e7
commit 7dedc42b30
2 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -114,6 +114,7 @@ def _get_actor_id(actor: ObjectOrIDType) -> str:
return actor
# FIXME(tsileo): keeps differents list of each `as_actor`, and uses `as_actor` as first arg for everything.
def track_call(f):
fname = f.__name__
def wrapper(*args, **kwargs):

Wyświetl plik

@ -22,6 +22,7 @@ def test_little_boxes_follow():
outbox.post(f)
# FIXME(tsileo): two assert, one for `me` and one for `other`
back.assert_called_methods(
(
'outbox_new',