Example #1
0
 def test_empty_string_goes_null_on_save(self):
     b = BlocklistItem(guid='guid', min='', max='', os='')
     b.save()
     assert b.min is None
     assert b.max is None
     assert b.os is None
Example #2
0
 def test_empty_string_goes_null_on_save(self):
     b = BlocklistItem(guid='guid', min='', max='', os='')
     b.save()
     assert b.min is None
     assert b.max is None
     assert b.os is None