diff --git a/tests/test_commit.py b/tests/test_commit.py index 2201aa2..dbb8b7b 100644 --- a/tests/test_commit.py +++ b/tests/test_commit.py @@ -19,12 +19,11 @@ def stream_id(client): def test_create(client, stream_id, commit): - commit_id = client.commit.create( + commit.id = client.commit.create( stream_id=stream_id, object_id="object123", message=commit.message ) - commit.id = commit_id - assert isinstance(commit_id, str) + assert isinstance(commit.id, str) def test_get(client, stream_id, commit): diff --git a/tests/test_objects.py b/tests/test_objects.py index 5871ed8..bb377e8 100644 --- a/tests/test_objects.py +++ b/tests/test_objects.py @@ -1 +1 @@ -import pytest +import pytest \ No newline at end of file