Commit b6271ef
committed
Add set tests. Test and fix table command.
admin.py:do_set:
Better document use of classname in set command.
Remove traceback.print_exc() that generates stderr index error which
duplicates UsageError and can confuse the user.
admin.py:do_table:
Fix null width spec to be length of label not len(label)+1
Handle exception if width is not an int.
Outdent code to proper location. Was inside loop and should not have
been.
test_admin.py:
Add tests for get with bad node designator
Add disabled test for HelpInitopts. Proper test TBD as valid result
depends on the environment the test is run in. So making it
robust it tricky.
Add tests for set error cases.
Add test for using set on class rather than designator
Add new tests for table command1 parent 2993e8d commit b6271ef
1 file changed
+16
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
660 | 660 | | |
661 | 661 | | |
662 | 662 | | |
663 | | - | |
664 | | - | |
665 | | - | |
666 | | - | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
667 | 670 | | |
668 | 671 | | |
669 | 672 | | |
| |||
711 | 714 | | |
712 | 715 | | |
713 | 716 | | |
714 | | - | |
715 | 717 | | |
716 | 718 | | |
717 | 719 | | |
| |||
1073 | 1075 | | |
1074 | 1076 | | |
1075 | 1077 | | |
1076 | | - | |
| 1078 | + | |
| 1079 | + | |
1077 | 1080 | | |
1078 | | - | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
1079 | 1087 | | |
1080 | 1088 | | |
1081 | 1089 | | |
1082 | 1090 | | |
1083 | 1091 | | |
1084 | 1092 | | |
1085 | 1093 | | |
1086 | | - | |
| 1094 | + | |
1087 | 1095 | | |
1088 | 1096 | | |
1089 | 1097 | | |
| |||
0 commit comments