Example #1
0
 def test_simple_individual(self):
     self.assertEqual("/trunk:1\n", properties.generate_mergeinfo_property({"/trunk": [(1, 1, True)]}))
Example #2
0
 def test_empty(self):
     self.assertEqual("", properties.generate_mergeinfo_property({}))
Example #3
0
 def test_simple_range(self):
     self.assertEqual("/trunk:1-2\n", properties.generate_mergeinfo_property({"/trunk": [(1, 2, True)]}))
Example #4
0
 def test_empty(self):
     self.assertEqual("", properties.generate_mergeinfo_property({}))
Example #5
0
 def test_simple_individual(self):
     self.assertEqual(
         "/trunk:1\n",
         properties.generate_mergeinfo_property({"/trunk": [(1, 1, True)]}))
Example #6
0
 def test_simple_range(self):
     self.assertEqual(
         "/trunk:1-2\n",
         properties.generate_mergeinfo_property({"/trunk": [(1, 2, True)]}))
Example #7
0
 def __repr__(self):
     return generate_mergeinfo_property(self.branches)