Skip to content

Commit

Permalink
Update test_ufonormalizer.py
Browse files Browse the repository at this point in the history
Check that package version is not the fallback value of "unknown".
  • Loading branch information
josh-hadley committed Dec 24, 2020
1 parent 258a65b commit d40c753
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_ufonormalizer.py
Expand Up @@ -1582,6 +1582,11 @@ def test_normalizeLibPlistWithBytesData(self):
Ny8wOS8yNiAwOToxMzoyMXEGc31xB2JzLg==
"""))

def test_version_not_unknown(self):
"""Test that package version is not 'unknown', which should only happen in cases
where the package has not been installed and is outside of source control. """
self.assertNotEqual(ufonormalizerVersion, 'unknown')


class XMLWriterTest(unittest.TestCase):
def __init__(self, methodName):
Expand Down

0 comments on commit d40c753

Please sign in to comment.