From e24a9eb99e9ce2d787b50fc4c83bcb3f604f95a1 Mon Sep 17 00:00:00 2001 From: Anthony Dillon Date: Fri, 12 Nov 2021 13:07:34 +0000 Subject: [PATCH] Fix the tests --- jujubundlelib/tests/test_references.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/jujubundlelib/tests/test_references.py b/jujubundlelib/tests/test_references.py index d63584c..22ce4e7 100644 --- a/jujubundlelib/tests/test_references.py +++ b/jujubundlelib/tests/test_references.py @@ -61,10 +61,6 @@ class TestReference(unittest.TestCase): # Promulgated charm without series and revision. (make_reference(user='', series='', revision=None), 'cs:juju-gui'), - - # Charmhub charm. - (make_reference(), - 'ch:minio'), ) jujucharms_tests = ( @@ -84,8 +80,6 @@ class TestReference(unittest.TestCase): 'juju-gui/precise'), (make_reference(user='', series='', revision=None), 'juju-gui'), - (make_reference(), - 'minio'), ) def test_attributes(self): @@ -194,7 +188,6 @@ def test_equality_different_references(self): # Two references with different attributes are not equal. tests = ( (make_reference(schema='cs'), - make_reference(schema='ch'), make_reference(schema='local')), (make_reference(user=''), make_reference(user='who')), @@ -514,10 +507,6 @@ def test_success(self): # No schema, series and revision, promulgated. ('juju-gui', make_reference(user='', series='', revision=None)), - - # Charmhub charm. - ('ch:minio', - make_reference()), ) for url, expected_ref in tests: ref = references.Reference.from_string(url)