Ejemplo n.º 1
0
    def test_deleting(self):

        apps.load('dummyapp')

        apps.unload('dummyapp')

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

        apps.load('dummyapp')

        apps.unload('dummyapp')

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

        apps.load('dummyapp')

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

        apps.load('dummyapp')

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