Skip to content

Commit a2e464d

Browse files
committed
clean up test
1 parent 316237e commit a2e464d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

tests_old/test_declare.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
assert_set_equal,
88
)
99

10-
from tests_old.schema_simple import IJ, JI
1110
from .schema import *
1211
import datajoint as dj
1312
import inspect
@@ -347,10 +346,10 @@ class WithSuchALongPartNameThatItCrashesMySQL(dj.Part):
347346
@staticmethod
348347
def test_hidden_attributes():
349348
assert (
350-
list(JI().heading._attributes.keys())[-1]
351-
== "_djtest_relational.#j_i_timestamp"
349+
list(Experiment().heading._attributes.keys())[-1]
350+
== "_djtest_test1._experiment_timestamp"
352351
)
353352
assert (
354-
list(JI().heading.attributes.keys())[-1]
355-
!= "_djtest_relational.#j_i_timestamp"
353+
list(Experiment().heading.attributes.keys())[-1]
354+
!= "_djtest_test1._experiment_timestamp"
356355
)

0 commit comments

Comments
 (0)