Exemplo n.º 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
Exemplo n.º 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