Commit b4732d0
committed
Fix unit tests for viewonly History.datasets and Workflow.parent_workflow_steps
History.datasets is now viewonly, so it queries the DB instead of
reading the in-memory collection. Flush after collect so the unflushed
HDA is visible to the query.
Workflow.parent_workflow_steps is now viewonly, so the cascade that
previously pulled the parent workflow into the session no longer fires.
Add the invocation to the session explicitly so FK columns on workflow
step connections are synced on commit.1 parent 243b1a0 commit b4732d0
2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| 200 | + | |
200 | 201 | | |
201 | 202 | | |
202 | 203 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| 199 | + | |
199 | 200 | | |
200 | 201 | | |
201 | 202 | | |
| |||
0 commit comments