Пример #1
0
 def test_implementation(self):
     backend = models.Backend()
     impl = backend.get_implementation()
     self.assertIsInstance(impl, Backend)
Пример #2
0
 def test_basics(self):
     models.Backend(url='http://example.com',
                    username='******',
                    token='mypassword')