summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorgy Frolov <gosha@fro.lv>2021-01-17 15:09:47 +0300
committerGeorgy Frolov <gosha@fro.lv>2021-01-17 15:09:47 +0300
commit01caf67ec32498ceb0e29cb372119d9609d40e61 (patch)
tree17873dbaf66010f46cb0a2f5d3a3877e04a82207
parent734599444c90c928df1516d4ffee1a2798c832a9 (diff)
fixed tests
-rw-r--r--test/test_main.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/test_main.py b/test/test_main.py
index 707c359..91a366b 100644
--- a/test/test_main.py
+++ b/test/test_main.py
@@ -3,7 +3,7 @@ import os
import click
from click.testing import CliRunner
-from mycli.main import MyCli, cli, thanks_picker, PACKAGE_ROOT
+from mycli.main import MyCli, cli, thanks_picker
from mycli.packages.special.main import COMMANDS as SPECIAL_COMMANDS
from .utils import USER, HOST, PORT, PASSWORD, dbtest, run
@@ -140,10 +140,7 @@ def test_batch_mode_csv(executor):
def test_thanks_picker_utf8():
- author_file = os.path.join(PACKAGE_ROOT, 'AUTHORS')
- sponsor_file = os.path.join(PACKAGE_ROOT, 'SPONSORS')
-
- name = thanks_picker((author_file, sponsor_file))
+ name = thanks_picker()
assert name and isinstance(name, str)