(actual, expected, op)
| 519 | |
| 520 | |
| 521 | def compare_assertion_value(actual, expected, op): |
| 522 | if op == "eq": |
| 523 | return actual == expected |
| 524 | if op == "ne": |
| 525 | return actual != expected |
| 526 | if op == "gt": |
| 527 | return actual > expected |
| 528 | if op == "gte": |
| 529 | return actual >= expected |
| 530 | if op == "lt": |
| 531 | return actual < expected |
| 532 | if op == "lte": |
| 533 | return actual <= expected |
| 534 | return None |
| 535 | |
| 536 | |
| 537 | def evaluate_assertions(scenario, db_path): |
no outgoing calls
no test coverage detected