コード例 #1
0
class DjangoAdapterTestCase(TestCase):

    def setUp(self):
        """
        Instantiate the adapter.
        """
        self.adapter = DjangoStorageAdapter()

    def tearDown(self):
        """
        Remove the test database.
        """
        self.adapter.drop()
コード例 #2
0
 def setUp(self):
     """
     Instantiate the adapter.
     """
     self.adapter = DjangoStorageAdapter()