Skip to content

Commit

Permalink
Drop test_tasks
Browse files Browse the repository at this point in the history
Tests SQLAlchemy (create foo + set foo.bar + load foo + check bar)
  • Loading branch information
jdavcs committed Jun 10, 2024
1 parent 1d7d655 commit fd29aab
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions test/unit/data/test_galaxy_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,16 +212,6 @@ def test_nested_collection_attributes(self):
]
assert c4.dataset_elements == [dce1, dce2]

def test_tasks(self):
u = model.User(email="[email protected]", 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="[email protected]", password="password")
h1 = model.History(name="HistoryAuditHistory", user=u)
Expand Down

0 comments on commit fd29aab

Please sign in to comment.