| 453 | |
| 454 | |
| 455 | class CMAPSpecTestCreator(SpecTestCreator): |
| 456 | def tests(self, scenario_def): |
| 457 | """Extract the tests from a spec file. |
| 458 | |
| 459 | CMAP tests do not have a 'tests' field. The whole file represents |
| 460 | a single test case. |
| 461 | """ |
| 462 | return [scenario_def] |
| 463 | |
| 464 | |
| 465 | test_creator = CMAPSpecTestCreator(create_test, TestCMAP, TestCMAP.TEST_PATH) |
no outgoing calls
no test coverage detected