def test_implementation(self): backend = models.Backend() impl = backend.get_implementation() self.assertIsInstance(impl, Backend)
def test_basics(self): models.Backend(url='http://example.com', username='******', token='mypassword')