Browse Source

Remove very outdated pytables tests

tags/nilmdb-2.0.0
Jim Paris 1 year ago
parent
commit
f2d89e2da5
1 changed files with 0 additions and 9 deletions
  1. +0
    -9
      tests/test_nilmdb.py

+ 0
- 9
tests/test_nilmdb.py View File

@@ -71,15 +71,6 @@ class Test00Nilmdb(object): # named 00 so it runs first
eq_(db.stream_list(layout="uint16_6"), [ ["/newton/raw", "uint16_6"] ])
eq_(db.stream_list(path="/newton/raw"), [ ["/newton/raw", "uint16_6"] ])

# Verify that columns were made right (pytables specific)
if "h5file" in db.data.__dict__:
h5file = db.data.h5file
eq_(len(h5file.getNode("/newton/prep").cols), 9)
eq_(len(h5file.getNode("/newton/raw").cols), 7)
eq_(len(h5file.getNode("/newton/zzz/rawnotch").cols), 10)
assert(not h5file.getNode("/newton/prep").colindexed["timestamp"])
assert(not h5file.getNode("/newton/prep").colindexed["c1"])

# Set / get metadata
eq_(db.stream_get_metadata("/newton/prep"), {})
eq_(db.stream_get_metadata("/newton/raw"), {})


Loading…
Cancel
Save