Skip to content

Commit

Permalink
Merge pull request juju#69 from anthonydillon/fix-tests
Browse files Browse the repository at this point in the history
Fix the tests
  • Loading branch information
anthonydillon committed Nov 12, 2021
2 parents 0e730ed + e24a9eb commit c665981
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions jujubundlelib/tests/test_references.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = (
Expand All @@ -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):
Expand Down Expand Up @@ -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')),
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit c665981

Please sign in to comment.