Skip to content

Commit

Permalink
TST #222
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Aug 15, 2019
1 parent 85c8d2a commit d831424
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/test_filewriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,15 +124,13 @@ def test_writer_default_name(self):
self.assertGreater(scan.header.raw.find("\n#o0 \n"), 0)

# see: https://github.com/prjemian/spec2nexus/issues/196
# tests/test_plugin.py test_empty_positioner()
self.assertEqual(len(scan.header.O), 1)
self.assertEqual(scan.header.O[0], [''])

self.assertGreater(scan.raw.find("\n#P0 \n"), 0)

# see: https://github.com/prjemian/spec2nexus/issues/196
self.assertEqual(len(scan.P), 1)
self.assertEqual(scan.P[0], '')

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

Expand Down

0 comments on commit d831424

Please sign in to comment.