Commit cff7576
committed
9pm.py: redesign 9pm project config handling
It was a mistake to use -c (config), that config is intended solely
for the test case. It should really be named NINEPM_TEST_CONFIG and
not NINEPM_CONFIG. It's intended to make the test dynamic. For
example, the same test could be executed twice with different
configurations to test slightly different things.
The project config however is different. It shall only contain project
static data. Such as the project name. It's passed to test cases as
well, so a user could add additional top level data intended for the
test cases. Such as default user credentials for the project.
Signed-off-by: Richard Alpe <[email protected]>1 parent 199d4ab commit cff7576
2 files changed
+20
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
537 | 537 | | |
538 | 538 | | |
539 | 539 | | |
540 | | - | |
| 540 | + | |
541 | 541 | | |
542 | | - | |
543 | | - | |
| 542 | + | |
| 543 | + | |
544 | 544 | | |
545 | 545 | | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
546 | 549 | | |
547 | 550 | | |
548 | 551 | | |
| |||
553 | 556 | | |
554 | 557 | | |
555 | 558 | | |
556 | | - | |
| 559 | + | |
| 560 | + | |
557 | 561 | | |
558 | | - | |
559 | | - | |
| 562 | + | |
| 563 | + | |
560 | 564 | | |
561 | 565 | | |
562 | 566 | | |
| |||
570 | 574 | | |
571 | 575 | | |
572 | 576 | | |
573 | | - | |
574 | 577 | | |
575 | 578 | | |
576 | 579 | | |
| |||
603 | 606 | | |
604 | 607 | | |
605 | 608 | | |
| 609 | + | |
| 610 | + | |
606 | 611 | | |
607 | 612 | | |
608 | 613 | | |
| |||
678 | 683 | | |
679 | 684 | | |
680 | 685 | | |
681 | | - | |
| 686 | + | |
682 | 687 | | |
683 | | - | |
684 | | - | |
685 | | - | |
686 | | - | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
687 | 692 | | |
688 | 693 | | |
689 | 694 | | |
| |||
729 | 734 | | |
730 | 735 | | |
731 | 736 | | |
732 | | - | |
| 737 | + | |
733 | 738 | | |
734 | 739 | | |
735 | 740 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments