Skip to content

Commit

Permalink
one more test case
Browse files Browse the repository at this point in the history
  • Loading branch information
Tasos Bakogiannis committed Apr 22, 2016
1 parent 763105f commit d39e159
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions openformats/tests/formats/beta_keyvaluejson/test_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ def test_empty_string_ignored(self):
)
self.assertEquals(len(stringset), 1)

template, stringset = self.handler.parse(
'{"not_empty": "hello there", "empty": [""]}'
)
self.assertEquals(len(stringset), 1)

def test_root_object_is_list(self):
source = '["%s"]' % self.random_string
random_openstring = OpenString('..0..', self.random_string, order=0)
Expand Down

0 comments on commit d39e159

Please sign in to comment.