예제 #1
0
 def test__normalizePath_products(self):
     self.assertEqual(
         'foo/bar', AffectsEmailCommand._normalizePath('/products/foo/bar'))
예제 #2
0
 def test__normalizePath_distros(self):
     self.assertEqual(
         'foo/bar', AffectsEmailCommand._normalizePath('/distros/foo/bar'))
예제 #3
0
 def test__normalizePath_leading_slash(self):
     self.assertEqual('foo/bar',
                      AffectsEmailCommand._normalizePath('/foo/bar'))
예제 #4
0
 def test__normalizePath_products(self):
     self.assertEqual(
         'foo/bar',
         AffectsEmailCommand._normalizePath('/products/foo/bar'))
예제 #5
0
 def test__normalizePath_distros(self):
     self.assertEqual(
         'foo/bar', AffectsEmailCommand._normalizePath('/distros/foo/bar'))
예제 #6
0
 def test__normalizePath_leading_slash(self):
     self.assertEqual(
         'foo/bar', AffectsEmailCommand._normalizePath('/foo/bar'))