Skip to content

Commit

Permalink
update nsr test to use exception
Browse files Browse the repository at this point in the history
  • Loading branch information
aperrin66 committed Nov 15, 2023
1 parent 5f80a86 commit a7e8d37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nansat/tests/test_nsr.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_init_from_none(self):
nsr = NSR(None)

self.assertEqual(type(nsr), NSR)
self.assertEqual(nsr.Validate(), 5)
self.assertRaises(RuntimeError, nsr.Validate)

def test_init_from_0(self):
nsr = NSR(0)
Expand Down

0 comments on commit a7e8d37

Please sign in to comment.