From 88bc76842a2f35e35ca9d2727e2a09131ce7c0c1 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 11 Jul 2023 14:34:21 +0300 Subject: Revert "Skip tests broken by Python-3.10 temporarily" This reverts commit f52247c15f3694f3dd5fd0fd79c3e15376137e07. --- pytest.ini | 2 +- tests/unit/db/test_species.py | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/pytest.ini b/pytest.ini index 01c571a..3fc29c6 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,5 +1,5 @@ [pytest] -addopts = --strict-markers --ignore=tests/unit/auth +addopts = --strict-markers markers = slow unit_test diff --git a/tests/unit/db/test_species.py b/tests/unit/db/test_species.py index b7a95ce..073931e 100644 --- a/tests/unit/db/test_species.py +++ b/tests/unit/db/test_species.py @@ -12,7 +12,6 @@ class TestChromosomes(TestCase): """Test cases for fetching chromosomes""" @pytest.mark.unit_test - @pytest.mark.skip def test_get_chromosome_using_species_name(self): """Test that the chromosome is fetched using a species name""" db_mock = mock.MagicMock() @@ -29,7 +28,6 @@ class TestChromosomes(TestCase): ) @pytest.mark.unit_test - @pytest.mark.skip def test_get_chromosome_using_group_name(self): """Test that the chromosome is fetched using a group name""" db_mock = mock.MagicMock() @@ -46,7 +44,6 @@ class TestChromosomes(TestCase): ) @pytest.mark.unit_test - @pytest.mark.skip def test_get_all_species(self): """Test that species are fetched correctly""" db_mock = mock.MagicMock() -- cgit 1.4.1