Skip to content

Commit

Permalink
Update tests/test_declare.py
Browse files Browse the repository at this point in the history
Co-authored-by: Dimitri Yatsenko <dimitri@datajoint.com>
  • Loading branch information
ethho and dimitri-yatsenko authored Sep 12, 2024
1 parent 755be9b commit eb72bd1
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/test_declare.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,9 +366,5 @@ def test_hidden_attributes(schema_any):
assert (
list(Experiment().heading._attributes.keys())[-1].split("_")[2] == "timestamp"
)
assert (
len([a for a in Experiment().heading._attributes.values() if a.is_hidden]) != 0
)
assert (
len([a for a in Experiment().heading.attributes.values() if a.is_hidden]) == 0
)
assert any(a.is_hidden for a in Experiment().heading._attributes.values())
assert not any(a.is_hidden for a in Experiment().heading.attributes.values())

0 comments on commit eb72bd1

Please sign in to comment.