Skip to content

Commit

Permalink
tests: updated test
Browse files Browse the repository at this point in the history
  • Loading branch information
doctrino committed Dec 14, 2024
1 parent d514991 commit 3f677b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/tests_integration/test_api/test_sequences.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ def new_seq(cognite_client: CogniteClient) -> Sequence:
SequenceColumn(value_type="Long", external_id="age"),
]
)
seq = cognite_client.sequences.create(Sequence(name="test_temp", columns=column_def, metadata={"a": "b"}))
seq = cognite_client.sequences.create(
Sequence(name="test_temp", columns=column_def, metadata={"a": "b"}, external_id="some_seq" + random_string(5))
)
yield seq
cognite_client.sequences.delete(id=seq.id)
assert cognite_client.sequences.retrieve(id=seq.id) is None
Expand Down

0 comments on commit 3f677b1

Please sign in to comment.