Tidying; add .env.sample
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -12,8 +12,6 @@ class LoginTests(BaseTestCase):
|
||||
response = client.get(url_for("auth.login"))
|
||||
self.assert_200(response)
|
||||
|
||||
# FIXME test generated login link
|
||||
|
||||
def test_login_magiclink(self):
|
||||
token, ignoreCaseMatches = get_model().login('test@example.com')
|
||||
|
||||
|
@ -29,7 +29,6 @@ class ConsoleTests(BaseTestCase):
|
||||
def setUp(self):
|
||||
super().setUp()
|
||||
|
||||
|
||||
get_model().cursor.execute("DELETE FROM host_operation")
|
||||
get_model().cursor.execute("DELETE FROM operations")
|
||||
get_model().cursor.execute("DELETE FROM vm_ssh_host_key")
|
||||
@ -48,8 +47,6 @@ class ConsoleTests(BaseTestCase):
|
||||
for host_id in host_ids:
|
||||
get_model().host_heartbeat(host_id)
|
||||
|
||||
|
||||
|
||||
def test_index(self):
|
||||
self._login('test@example.com')
|
||||
with self.client as client:
|
||||
@ -80,7 +77,6 @@ class ConsoleTests(BaseTestCase):
|
||||
0
|
||||
)
|
||||
|
||||
|
||||
def test_create_fails_capacity(self):
|
||||
with self.client as client:
|
||||
|
||||
@ -162,7 +158,6 @@ class ConsoleTests(BaseTestCase):
|
||||
url_for("console.index") + f'?created={vm_id}'
|
||||
)
|
||||
|
||||
|
||||
def test_keys_loads(self):
|
||||
self._login('test@example.com')
|
||||
with self.client as client:
|
||||
@ -215,5 +210,3 @@ class ConsoleTests(BaseTestCase):
|
||||
'A key with that name already exists',
|
||||
category='message'
|
||||
)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user