From fd29aab55d6841f984e0b964b52d0d5c5cd2a6f3 Mon Sep 17 00:00:00 2001 From: John Davis Date: Thu, 7 Mar 2024 16:42:22 -0500 Subject: [PATCH] Drop test_tasks Tests SQLAlchemy (create foo + set foo.bar + load foo + check bar) --- test/unit/data/test_galaxy_mapping.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/test/unit/data/test_galaxy_mapping.py b/test/unit/data/test_galaxy_mapping.py index bdf345eae3fa..3e99841db44b 100644 --- a/test/unit/data/test_galaxy_mapping.py +++ b/test/unit/data/test_galaxy_mapping.py @@ -212,16 +212,6 @@ def test_nested_collection_attributes(self): ] assert c4.dataset_elements == [dce1, dce2] - def test_tasks(self): - u = model.User(email="jobtest@foo.bar.baz", password="password") - job = model.Job() - task = model.Task(job=job, working_directory="/tmp", prepare_files_cmd="split.sh") - job.user = u - self.persist(u, job, task) - - loaded_task = self.model.session.scalars(select(model.Task).filter(model.Task.job == job).limit(1)).first() - assert loaded_task.prepare_input_files_cmd == "split.sh" - def test_history_audit(self): u = model.User(email="contents@foo.bar.baz", password="password") h1 = model.History(name="HistoryAuditHistory", user=u)