Skip to content

Commit

Permalink
restructure tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thenewguy committed Sep 20, 2015
1 parent 4e862af commit e85a6d8
Show file tree
Hide file tree
Showing 15 changed files with 5 additions and 51 deletions.
2 changes: 0 additions & 2 deletions project/project/settings.py
Expand Up @@ -115,8 +115,6 @@
'django.contrib.staticfiles',
'django.contrib.admin',
'randomfields',
'test_integer_fields',
'test_string_fields'
)

# A sample logging configuration. The only tangible logging
Expand Down
16 changes: 0 additions & 16 deletions project/randomfields/tests.py

This file was deleted.

2 changes: 2 additions & 0 deletions project/randomfields/tests/__init__.py
@@ -0,0 +1,2 @@
from .test_integer_fields import *
from .test_string_fields import *
2 changes: 2 additions & 0 deletions project/randomfields/tests/models/__init__.py
@@ -0,0 +1,2 @@
from .test_integer_fields import *
from .test_string_fields import *
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,6 +1,6 @@
from django.db import IntegrityError
from django.test import TestCase
from models import TestPrimaryKey, TestUnique, TestMinLengthPossibilities, TestFixLengthPossibilities
from .models import TestPrimaryKey, TestUnique, TestMinLengthPossibilities, TestFixLengthPossibilities

class SaveTests(TestCase):
def test_auto_primary_key(self):
Expand Down
Empty file.
21 changes: 0 additions & 21 deletions project/test_integer_fields/admin.py

This file was deleted.

1 change: 0 additions & 1 deletion project/test_integer_fields/views.py

This file was deleted.

Empty file.
8 changes: 0 additions & 8 deletions project/test_string_fields/admin.py

This file was deleted.

1 change: 0 additions & 1 deletion project/test_string_fields/fixtures/initial_data.json

This file was deleted.

1 change: 0 additions & 1 deletion project/test_string_fields/views.py

This file was deleted.

0 comments on commit e85a6d8

Please sign in to comment.