Skip to content

Commit

Permalink
DOC #226
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Aug 15, 2019
1 parent d831424 commit 6749b65
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/test_filewriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,18 @@ def test_writer_default_name(self):
self.assertEqual(len(scan.P), 1)
self.assertEqual(scan.P[0], '')

# TODO: after next spec2nexus release
# self.assertGreater(scan.header.raw.find("\n#O0 \n"), 0)
# self.assertGreater(scan.header.raw.find("\n#o0 \n"), 0)
# self.assertEqual(len(scan.header.O), 1)
# self.assertEqual(len(scan.header.O[0]), 0)
# self.assertEqual(len(scan.header.o), 1)
# self.assertEqual(len(scan.header.o[0]), 0)
# self.assertGreater(scan.raw.find("\n#P0 \n"), 0)
# self.assertEqual(len(scan.P), 1)
# self.assertEqual(len(scan.P[0]), 0)
# self.assertEqual(len(scan.positioner), 0)

def test_writer_filename(self):
self.assertTrue(len(self.db) > 0, "test data ready")

Expand Down

0 comments on commit 6749b65

Please sign in to comment.