Commit 9c462039 authored by Rob Carleski's avatar Rob Carleski 🇮🇸
Browse files

ope, fix tests.

parent 0d697cdc
......@@ -10,7 +10,8 @@ config = data_dir + 'test_cak_config.yml'
def test_build():
args = {
'account': 'testsharedaccount',
'total': 10
'total': 10,
'prefix': None
}
account = fitbit.Account(
args,
......
......@@ -12,6 +12,7 @@ def test_transfer_label_list():
'current_owner': 'testuser',
'new_owner': 'testuser',
'labels': ['label1', 'label2'],
'email_directory': None
}
mover = transfer_mail.Mover(
args,
......@@ -26,6 +27,7 @@ def test_transfer_label_file():
'current_owner': 'testuser',
'new_owner': 'testuser',
'label_file': data_dir + '/mock_gyb/test_transfer_mail.txt',
'email_directory': None
}
mover = transfer_mail.Mover(
args,
......@@ -40,7 +42,8 @@ def test_prefix_assignment():
'current_owner': 'testuser',
'new_owner': 'testuser',
'labels': ['label1', 'label2'],
'label_prefix': 'prefix'
'label_prefix': 'prefix',
'email_directory': None
}
mover = transfer_mail.Mover(
args,
......@@ -55,6 +58,7 @@ def test_search_translation():
'current_owner': 'testuser',
'new_owner': 'testuser',
'label_file': data_dir + '/mock_gyb/test_transfer_mail.txt',
'email_directory': None
}
mover = transfer_mail.Mover(
args,
......
Supports Markdown
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