Commit 02a858eb authored by mathieui's avatar mathieui

tests: Fix tests

parent bd2aac6d
Pipeline #3869 passed with stages
in 11 minutes and 4 seconds
......@@ -99,7 +99,6 @@ class TestConfigSections(object):
class TestTabNames(object):
def test_get_tabname(self, config_obj):
config.post_logging_setup()
config_obj.set_and_save('test', value='value.toto@toto.com',
section='toto@toto.com')
config_obj.set_and_save('test2', value='value2@toto.com',
......
......@@ -29,7 +29,7 @@ class DummyTab(Tab):
def test_append():
DummyTab.reset()
tabs = Tabs(h)
tabs = Tabs(h, None)
dummy = DummyTab()
tabs.append(dummy)
assert tabs[0] is dummy
......@@ -46,7 +46,7 @@ def test_append():
def test_delete():
DummyTab.reset()
tabs = Tabs(h)
tabs = Tabs(h, None)
dummy = DummyTab()
dummy2 = DummyTab()
tabs.append(dummy)
......@@ -61,7 +61,7 @@ def test_delete():
def test_delete_restore_previous():
DummyTab.reset()
tabs = Tabs(h)
tabs = Tabs(h, None)
dummy = DummyTab()
dummy2 = DummyTab()
dummy3 = DummyTab()
......@@ -82,7 +82,7 @@ def test_delete_restore_previous():
def test_delete_other_tab():
DummyTab.reset()
tabs = Tabs(h)
tabs = Tabs(h, None)
dummy = DummyTab()
dummy2 = DummyTab()
dummy3 = DummyTab()
......@@ -102,7 +102,7 @@ def test_delete_other_tab():
def test_insert_and_gaps():
DummyTab.reset()
tabs = Tabs(h)
tabs = Tabs(h, None)
dummy = DummyTab()
dummy2 = DummyTab()
dummy3 = DummyTab()
......@@ -125,7 +125,7 @@ def test_insert_and_gaps():
def test_replace_tabs():
DummyTab.reset()
tabs = Tabs(h)
tabs = Tabs(h, None)
dummy = DummyTab()
dummy2 = DummyTab()
dummy3 = DummyTab()
......@@ -140,7 +140,7 @@ def test_replace_tabs():
def test_prev_next():
DummyTab.reset()
tabs = Tabs(h)
tabs = Tabs(h, None)
dummy = DummyTab()
dummy2 = DummyTab()
dummy3 = DummyTab()
......@@ -166,7 +166,7 @@ def test_prev_next():
def test_set_current():
DummyTab.reset()
tabs = Tabs(h)
tabs = Tabs(h, None)
dummy = DummyTab()
dummy2 = DummyTab()
dummy3 = DummyTab()
......@@ -182,7 +182,7 @@ def test_set_current():
def test_slice():
DummyTab.reset()
tabs = Tabs(h)
tabs = Tabs(h, None)
dummy = DummyTab()
dummy2 = DummyTab()
dummy3 = DummyTab()
......@@ -194,7 +194,7 @@ def test_slice():
def test_find_by_unique_prefix():
DummyTab.reset()
tabs = Tabs(h)
tabs = Tabs(h, None)
t1 = DummyTab()
t2 = DummyTab()
t3 = DummyTab()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment