diff options
author | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2012-05-18 01:15:55 +0200 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2012-05-18 01:15:55 +0200 |
commit | 6b5a291dfab08f4ae2cd7ab8c63920477cb94458 (patch) | |
tree | 81d4314f9b57f98adc850f17967350eea1619e07 /tests | |
parent | 9acf9235bd70327edcce7cb1f9941539b7ef1e94 (diff) | |
download | semantic-version-6b5a291dfab08f4ae2cd7ab8c63920477cb94458.tar.gz |
Ensure partial flag is kept around.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/test_base.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_base.py b/tests/test_base.py index 54089dc..b1a07ed 100755 --- a/tests/test_base.py +++ b/tests/test_base.py @@ -129,6 +129,7 @@ class VersionTestCase(unittest.TestCase): actual_fields = (version.major, version.minor, version.patch, version.prerelease, version.build) self.assertEqual(expected_fields, actual_fields) + self.assertTrue(version.partial, "%r should have partial=True" % version) def test_str_partials(self): for text, fields in self.partial_versions.items(): |