make test fail louder
This commit is contained in:
Родитель
1e6321c7f1
Коммит
13e0b65c31
|
@ -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
|
||||
)
|
||||
|
|
Загрузка…
Ссылка в новой задаче