test_dags
compare_submit_files
compare_submit_files(file1, file2)
Compare two submit files by loading them as Submit objects.
This provides a semantic comparison rather than exact string matching, making tests more robust to formatting changes.
Source code in ezdag/tests/test_dags.py
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | |
test_absolute_log_dir
test_absolute_log_dir(mock_which, tmp_path)
Layers with absolute log_dir create that directory directly.
Source code in ezdag/tests/test_dags.py
323 324 325 326 327 328 329 330 331 332 333 334 335 | |
test_duplicate_layer_names
test_duplicate_layer_names(mock_which, tmp_path)
Attaching layers with the same name appends a counter.
Source code in ezdag/tests/test_dags.py
246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 | |
test_multi_parent_edges
test_multi_parent_edges(mock_which, tmp_path)
A child layer consuming outputs from two different parent layers.
Source code in ezdag/tests/test_dags.py
266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 | |
test_visualize
test_visualize(mock_which, tmp_path)
Test DAG visualization produces an output file.
Source code in ezdag/tests/test_dags.py
296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 | |