From 7ab405e010df5cb248a56ef6698a49a0bfeb74cf Mon Sep 17 00:00:00 2001 From: John Chilton Date: Sat, 2 Jan 2021 21:07:21 -0500 Subject: [PATCH] Expand mypy coverage in root project. --- lib/galaxy_test/api/test_libraries.py | 2 +- lib/galaxy_test/selenium/test_library_to_collections.py | 2 +- tox.ini | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/galaxy_test/api/test_libraries.py b/lib/galaxy_test/api/test_libraries.py index 907b2b22f3d..08f752d7d97 100644 --- a/lib/galaxy_test/api/test_libraries.py +++ b/lib/galaxy_test/api/test_libraries.py @@ -229,7 +229,7 @@ class LibrariesApiTestCase(ApiTestCase, TestsDatasets): dataset = self.library_populator.get_library_contents_with_path(library["id"], "/4.bed") assert dataset["file_size"] == 61, dataset - @unittest.skip # reference URLs changed, checksums now invalid. + @unittest.skip("reference URLs changed, checksums now invalid.") def test_fetch_bagit_archive_to_folder(self): history_id, library, destination = self._setup_fetch_to_folder("bagit_archive") example_bag_path = self.test_data_resolver.get_filename("example-bag.zip") diff --git a/lib/galaxy_test/selenium/test_library_to_collections.py b/lib/galaxy_test/selenium/test_library_to_collections.py index ef32233c14a..440784fda18 100644 --- a/lib/galaxy_test/selenium/test_library_to_collections.py +++ b/lib/galaxy_test/selenium/test_library_to_collections.py @@ -6,7 +6,7 @@ from .framework import ( ) -@unittest.skip +@unittest.skip("https://github.com/galaxyproject/galaxy/pull/5754") class LibraryToCollectionsTestCase(SeleniumTestCase): requires_admin = True diff --git a/tox.ini b/tox.ini index 29a1a772291..8145d29cf52 100644 --- a/tox.ini +++ b/tox.ini @@ -13,7 +13,7 @@ commands = unit: bash run_tests.sh -u # start with test here but obviously someday all of it... - mypy: mypy test + mypy: mypy test lib/galaxy lib/galaxy_test whitelist_externals = bash passenv = CI CONDA_EXE