Skip to content
Snippets Groups Projects
Commit 1defa474 authored by Christopher Randolph Rhodes's avatar Christopher Randolph Rhodes
Browse files

Cleaned up test

parent ed7f876f
No related branches found
No related tags found
No related merge requests found
......@@ -79,8 +79,8 @@ class Session(object):
Write an event string to this session's log file.
"""
timestamp = strftime('%m/%d/%Y, %H:%M:%S', localtime())
with open(self.session_log, 'w+') as fh:
fh.write(f'{timestamp} -- {event}')
with open(self.session_log, 'a') as fh:
fh.write(f'{timestamp} -- {event}\n')
def record_workflow_run(self, record: WorkflowRunRecord or None):
"""
......
......@@ -55,10 +55,6 @@ class TestApiFromAutomatedClient(TestServerBaseClass):
suffix = Path(conf.defaults.subdirectories[p]).__str__()
self.assertTrue(resp.json()[p].endswith(suffix))
def test_restart_with_new_root_directory(self):
pass
# TODO: implement
def test_list_empty_loaded_models(self):
resp = requests.get(self.uri + 'models')
self.assertEqual(resp.status_code, 200)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment