From 088ea8c3ecefccfef9c41b5372f999c30d604911 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sat, 22 May 2021 15:12:12 -0400 Subject: [PATCH] Skip CLI tests due to questrade dependency for now --- tests/conftest.py | 1 - tests/test_cli.py | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index f461ffc6..d6ebbbf2 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -44,7 +44,6 @@ def confdir(request, test_config): if confdir is not None: config._override_config_dir(confdir) - # return config.load()[0] return confdir diff --git a/tests/test_cli.py b/tests/test_cli.py index 26065245..8c9df93a 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -10,6 +10,12 @@ import os.path import piker.watchlists as wl +pytestmark = pytest.mark.skipif( + True, + reason="cli tests rely on quote api and questrade symbols" +) + + def run(cmd, *args): """Run cmd and check for zero return code. """