Example #1
0
 def test_normalize_repo(self):
     expected = 'drupal/drupal/'
     assert _github_normalize("/drupal/drupal/") == expected
     assert _github_normalize("/drupal/drupal") == expected
     assert _github_normalize("drupal/drupal") == expected
     assert _github_normalize("/drupal/drupal/") == expected
Example #2
0
 def test_normalize_repo(self):
     expected = 'drupal/drupal/'
     assert _github_normalize("/drupal/drupal/") == expected
     assert _github_normalize("/drupal/drupal") == expected
     assert _github_normalize("drupal/drupal") == expected
     assert _github_normalize("/drupal/drupal/") == expected