~ubuntu-branches/ubuntu/quantal/python-django/quantal-security

« back to all changes in this revision

Viewing changes to tests/modeltests/proxy_model_inheritance/tests.py

  • Committer: Bazaar Package Importer
  • Author(s): Jamie Strandboge
  • Date: 2010-10-12 11:34:35 UTC
  • mfrom: (1.2.7 upstream)
  • mto: This revision was merged to the branch mainline in revision 30.
  • Revision ID: james.westby@ubuntu.com-20101012113435-9lnsrh0i3mxozbt0
Tags: upstream-1.2.3
ImportĀ upstreamĀ versionĀ 1.2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
        settings.INSTALLED_APPS = ('app1', 'app2')
24
24
        map(load_app, settings.INSTALLED_APPS)
25
25
        call_command('syncdb', verbosity=0)
 
26
        global ProxyModel, NiceModel
26
27
        from app1.models import ProxyModel
27
28
        from app2.models import NiceModel
28
 
        global ProxyModel, NiceModel
29
29
 
30
30
    def tearDown(self):
31
31
        settings.INSTALLED_APPS = self.old_installed_apps