Example #1
0
 def test_return_line_list_with_id(self):
     self.assertEqual([
         "Resource Sets:",
         fixture_constraint_console(),
     ],
                      command.show_constraints_with_set(
                          [fixture_constraint()], show_detail=True))
Example #2
0
 def test_return_line_list(self):
     self.assertEqual([
         "Resource Sets:",
         "  set a b c=d e=f set g h i=j k=l setoptions m=n o=p",
     ],
                      command.show_constraints_with_set(
                          [fixture_constraint()], show_detail=False))
Example #3
0
 def test_return_line_list_with_id(self):
     self.assertEqual(
         [
             "Resource Sets:",
             fixture_constraint_console(),
         ],
         command.show_constraints_with_set(
             [fixture_constraint()],
             show_detail=True
         )
     )
Example #4
0
 def test_return_line_list(self):
     self.assertEqual(
         [
             "Resource Sets:",
             "  set a b c=d e=f set g h i=j k=l setoptions m=n o=p",
         ],
         command.show_constraints_with_set(
             [fixture_constraint()],
             show_detail=False
         )
     )