Compare commits

...

1 Commits

Author SHA1 Message Date
Gergő Jedlicska 13e0b65c31 make test fail louder 2023-09-07 14:43:49 +02:00
+4 -1
View File
@@ -11,8 +11,8 @@ from specklepy.api.models import (
from specklepy.logging.exceptions import (
GraphQLException,
SpeckleException,
UnsupportedException,
)
from devtools import debug
@pytest.mark.run(order=3)
@@ -201,6 +201,9 @@ class TestStream:
def test_stream_activity(self, client: SpeckleClient, stream: Stream):
activity = client.stream.activity(stream.id)
if isinstance(activity, SpeckleException):
debug(activity.with_traceback())
older_activity = client.stream.activity(
stream.id, before=activity.items[0].time
)