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