Skip to content

Commit

Permalink
Fixture re-organization.
Browse files Browse the repository at this point in the history
* Added project-level fixture dirs to settings file;
* Moved ``<app_name>/fixtures/*`` to ``fixture/<app_name>/*`` (IMHO, project-level fixtures are better since they reduce application coupling);
* renamed ``import`` fixture to more descriptive ``test_data``.
  • Loading branch information
seldon committed Sep 22, 2011
1 parent 7ae2374 commit f6c2e7a
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions gasistafelice/default_settings.py
Expand Up @@ -119,6 +119,14 @@

)

FIXTURE_DIRS = (
os.path.join(PROJECT_ROOT, 'fixtures/auth/'),
os.path.join(PROJECT_ROOT, 'fixtures/base/'),
os.path.join(PROJECT_ROOT, 'fixtures/des/'),
os.path.join(PROJECT_ROOT, 'fixtures/gas/'),
os.path.join(PROJECT_ROOT, 'fixtures/supplier/'),
)

THEME = "milky"
AUTH_PROFILE_MODULE = 'users.UserProfile'
URL_PREFIX = "gasistafelice/"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit f6c2e7a

Please sign in to comment.