Skip to content
Snippets Groups Projects
Commit 248c35e0 authored by yvesn's avatar yvesn
Browse files

SSDM-6925: removed prolematic test

parent 953cd178
No related branches found
No related tags found
No related merge requests found
......@@ -346,24 +346,6 @@ def run(tmpdir, o, skip=[]):
cmd('obis object set id=/OBIS_TEST_1/SAMPLE_1')
with cd('data14'): assert get_settings()['object']['permId'] is not None
output_buffer = '=================== 16. User switch ===================\n'
cmd('obis init data9')
with cd('data9'):
cmd('touch file')
cmd('obis object set id=/OBIS_TEST_1/SAMPLE_1')
result = cmd('obis commit -m \'commit-message\'')
settings = get_settings()
assert "Created data set {}.".format(settings['repository']['data_set_id']) in result
cmd('touch file2')
cmd('obis config set user=watney')
# expect timeout because obis is asking for the password of the new user
try:
timeout = False
result = cmd('obis commit -m \'commit-message\'', timeout=3)
except SubprocessError:
timeout = True
assert timeout == True
def assert_file_paths(files, expected_paths):
paths = list(map(lambda file: file['path'], files))
......
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