Commits

Benjamin Smith committed 1f1e74c

Add silly new tests for distmeta (not really needed, but I'm an overachiever)

  • Participants
  • Parent commits fb9db75

Comments (0)

Files changed (1)

tests/test_distmeta.py

+#!/usr/bin/env python
+from unittest import TestCase
+import stompy.distmeta as dm
+
+class WhenCheckingDistMeta(TestCase):
+   
+    def should_get_stable_release(self):
+        assert isinstance(dm.is_stable_release(), type(True))
+
+    def should_return_version_with_meta(self):
+        dm.VERSION = (0, 2, 0) 
+        assert isinstance(dm.version_with_meta(), type(""))