Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Whitespace

  • Loading branch information...
commit 08d5d4fdb7fac00bcddc84bb2eec89acd757a5e5 1 parent 45805ad
@coleifer authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 tests.py
View
10 tests.py
@@ -636,7 +636,7 @@ def test_naive(self):
class ModelQueryTestCase(ModelTestCase):
requires = [User, Blog]
-
+
def create_users_blogs(self, n=10, nb=5):
for i in range(n):
u = User.create(username='u%d' % i)
@@ -899,7 +899,7 @@ def aC(q, exp):
cats = Category.select().join(UserCategory).join(User).where(User.username == 'u2')
aC(cats, ['c12', 'c2', 'c23'])
-
+
cats = Category.select().join(UserCategory).join(User).where(User.username == 'u3')
aC(cats, [])
@@ -967,12 +967,12 @@ def test_intfield(self):
nm = NullModel.create(int_field='4')
nm_db = NullModel.get(id=nm.id)
self.assertEqual(nm_db.int_field, 4)
-
+
def test_floatfield(self):
nm = NullModel.create(float_field='4.2')
nm_db = NullModel.get(id=nm.id)
self.assertEqual(nm_db.float_field, 4.2)
-
+
def test_decimalfield(self):
D = Decimal
nm = NullModel()
@@ -1142,7 +1142,7 @@ def test_non_int_pk(self):
self.assertEqual([(x.pk, x.data) for x in NonIntModel.select().order_by(NonIntModel.pk)], [
('a1', 'ni1'), ('a2', 'ni2'),
])
-
+
def test_non_int_fk(self):
"""
class NonIntModel(TestModel):
Please sign in to comment.
Something went wrong with that request. Please try again.