From eaed6e1851cdf54493232e469b62480f1feab323 Mon Sep 17 00:00:00 2001 From: Keith James Date: Tue, 7 Feb 2023 15:58:44 +0000 Subject: [PATCH] Update black 23.1.0 --- test-requirements.txt | 2 +- tests/conftest.py | 2 -- tests/test_ml_warehouse_queries.py | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/test-requirements.txt b/test-requirements.txt index 5ce19732..27f45483 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,3 +1,3 @@ pytest-it==0.1.4 pytest==7.2.1 -black==22.12.0 +black==23.1.0 diff --git a/tests/conftest.py b/tests/conftest.py index fbab7fd1..a988ece7 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -113,7 +113,6 @@ def mysql_url(config: configparser.ConfigParser): @pytest.fixture(scope="function") def mlwh_session(config: configparser.ConfigParser) -> Session: - uri = mysql_url(config) engine = create_engine(uri, echo=False, future=True) @@ -571,7 +570,6 @@ def initialize_mlwh_ont(session: Session): def initialize_mlwh_illumina(sess: Session): - changed_study = Study( id_lims="LIMS_05", id_study_lims="study_04", diff --git a/tests/test_ml_warehouse_queries.py b/tests/test_ml_warehouse_queries.py index dce76b39..9e45f97f 100644 --- a/tests/test_ml_warehouse_queries.py +++ b/tests/test_ml_warehouse_queries.py @@ -114,7 +114,6 @@ class TestIlluminaMLWarehouseQueries(object): @m.context("When given a datetime") @m.it("Finds rows updated since that datetime") def test_recently_changed(self, mlwh_session): - late_expected = [ { TrackedStudy.ACCESSION_NUMBER: "ST0000000001",