Skip to content

Commit

Permalink
fixing test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
tedlaz committed Feb 9, 2018
1 parent 28e2d5e commit 311499f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions sofos/tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,3 @@ class Ftable(md.Model):
self.assertTrue(fkv.validate(12))
self.assertTrue(fkv.validate('12'))
self.assertFalse(fkv.validate('1221h'))

def test_Model_01(self):
class TstModel(md.Model):
fld1 = md.CharField('tst', 10)
mdl = TstModel()
TstModel.save(':memory:', {'id': '', 'fld1': 'val1'})
TstModel.save(':memory:', {'id': 1, 'fld1': 'val1'})
TstModel.search_deep(':memory:', 'tes1')
TstModel.search(':memory:', 'tes1')
TstModel.sql_create()

0 comments on commit 311499f

Please sign in to comment.