Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 13e0b65c31 |
@@ -11,8 +11,8 @@ from specklepy.api.models import (
|
|||||||
from specklepy.logging.exceptions import (
|
from specklepy.logging.exceptions import (
|
||||||
GraphQLException,
|
GraphQLException,
|
||||||
SpeckleException,
|
SpeckleException,
|
||||||
UnsupportedException,
|
|
||||||
)
|
)
|
||||||
|
from devtools import debug
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.run(order=3)
|
@pytest.mark.run(order=3)
|
||||||
@@ -201,6 +201,9 @@ class TestStream:
|
|||||||
def test_stream_activity(self, client: SpeckleClient, stream: Stream):
|
def test_stream_activity(self, client: SpeckleClient, stream: Stream):
|
||||||
activity = client.stream.activity(stream.id)
|
activity = client.stream.activity(stream.id)
|
||||||
|
|
||||||
|
if isinstance(activity, SpeckleException):
|
||||||
|
debug(activity.with_traceback())
|
||||||
|
|
||||||
older_activity = client.stream.activity(
|
older_activity = client.stream.activity(
|
||||||
stream.id, before=activity.items[0].time
|
stream.id, before=activity.items[0].time
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user