Esempio n. 1
0
    def test_deleting(self):

        apps.load('dummyapp')

        apps.unload('dummyapp')

        self.assertFalse('dummyapp' in sys.modules)
        self.assertFalse('dummyapp' in apps)
Esempio n. 2
0
    def test_deleting(self):

        apps.load('dummyapp')

        apps.unload('dummyapp')

        self.assertFalse('dummyapp' in sys.modules)
        self.assertFalse('dummyapp' in apps)
Esempio n. 3
0
    def test_loading_in_syspath(self):

        apps.load('dummyapp')

        self.assertEquals(apps['dummyapp'].__name__, 'dummyapp.dummyapp')
Esempio n. 4
0
    def test_loading_in_syspath(self):

        apps.load('dummyapp')

        self.assertEquals(apps['dummyapp'].__name__, 'dummyapp.dummyapp')
Esempio n. 5
0
 def setUp(self):
     apps.load('dummyapp')