Esempio n. 1
0
    def setUp(self):
        super(BaseVersionTestCase, self).setUp()

        id = VERSIONS['1.0']['id']
        status = VERSIONS['1.0']['status']
        base_url = BASE_URL
        updated = VERSIONS['1.0']['updated']

        self.base_version = BaseVersion(id, status, base_url, updated)
        self.assertIsNotNone(self.base_version,
                             'BaseVersion instance was None')
Esempio n. 2
0
 def setUp(self):
     super(BaseVersionTestCase, self).setUp()
     self.base_version = BaseVersion(id, status, base_url, updated)
     self.assertIsNotNone(self.base_version,
                          'BaseVersion instance was None')