Skip to content

Commit

Permalink
Updated test case
Browse files Browse the repository at this point in the history
Change-Id: I376c9b8a7c0f3b192636a5d096e56a0049b5f98b
  • Loading branch information
danmergens committed Dec 7, 2018
1 parent 8996925 commit 2d40174
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mi/dataset/parser/test/test_cg_dcl_eng_dcl.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,8 @@ def test_invalid_fields(self):
log.debug("Result: %s", particles)

self.assertEqual(len(particles), 13)
self.assertEqual(self._exceptions_detected, 30)
# PR 13713 - now preventing exceptions before extracting sample
self.assertEqual(self._exceptions_detected, 0)
self.assert_particles(particles, 'recov.invalid.syslog.yml', RESOURCE_PATH)

self._exceptions_detected = 0
Expand All @@ -240,7 +241,7 @@ def test_invalid_fields(self):
log.debug("Result: %s", particles)

self.assertEqual(len(particles), 13)
self.assertEqual(self._exceptions_detected, 30)
self.assertEqual(self._exceptions_detected, 0)
self.assert_particles(particles, 'telem.invalid.syslog.yml', RESOURCE_PATH)

log.debug('===== END TEST INVALID FIELDS =====')
Expand Down

0 comments on commit 2d40174

Please sign in to comment.