-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests SQLAlchemy (create foo + set foo.bar + load foo + check bar)
- Loading branch information
Showing
1 changed file
with
0 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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) | ||
|