From 6191ab9db58defe04de6990d8f54f80757873e91 Mon Sep 17 00:00:00 2001 From: axif Date: Wed, 11 Dec 2024 13:37:05 +0600 Subject: [PATCH] remove tests for get -all --- tests/cli/test_get.py | 59 ++++++++++++++++++++++--------------------- 1 file changed, 30 insertions(+), 29 deletions(-) diff --git a/tests/cli/test_get.py b/tests/cli/test_get.py index 99690733..02716a5e 100644 --- a/tests/cli/test_get.py +++ b/tests/cli/test_get.py @@ -47,35 +47,36 @@ def test_invalid_arguments(self): # MARK: All Data - @patch("scribe_data.cli.get.query_data") - def test_get_all_data_types_for_language(self, mock_query_data): - get_data(all=True, language="English") - mock_query_data.assert_called_once_with( - languages=["English"], - data_type=None, - output_dir="scribe_data_json_export", - overwrite=False, - ) - - @patch("scribe_data.cli.get.query_data") - def test_get_all_languages_for_data_type(self, mock_query_data): - get_data(all=True, data_type="nouns") - mock_query_data.assert_called_once_with( - languages=None, - data_type=["nouns"], - output_dir="scribe_data_json_export", - overwrite=False, - ) - - @patch("scribe_data.cli.get.query_data") - def test_get_all_languages_and_data_types(self, mock_query_data): - get_data(all=True, output_dir="./test_output") - mock_query_data.assert_called_once_with( - languages=None, - data_type=None, - output_dir="./test_output", - overwrite=False, - ) + # Using sparql based data extract tests + # @patch("scribe_data.cli.get.query_data") + # def test_get_all_data_types_for_language(self, mock_query_data): + # get_data(all=True, language="English") + # mock_query_data.assert_called_once_with( + # languages=["English"], + # data_type=None, + # output_dir="scribe_data_json_export", + # overwrite=False, + # ) + + # @patch("scribe_data.cli.get.query_data") + # def test_get_all_languages_for_data_type(self, mock_query_data): + # get_data(all=True, data_type="nouns") + # mock_query_data.assert_called_once_with( + # languages=None, + # data_type=["nouns"], + # output_dir="scribe_data_json_export", + # overwrite=False, + # ) + + # @patch("scribe_data.cli.get.query_data") + # def test_get_all_languages_and_data_types(self, mock_query_data): + # get_data(all=True, output_dir="./test_output") + # mock_query_data.assert_called_once_with( + # languages=None, + # data_type=None, + # output_dir="./test_output", + # overwrite=False, + # ) # MARK: Language and Data Type