home · contact · privacy
Extend tests.
[plomtask] / tests / processes.py
index c3b1144de7563d956e5fd3a6d6474cb6180e726a..861600821e5095397be3633cd8cca00e1a9b0742 100644 (file)
@@ -22,6 +22,15 @@ class TestsSansDB(TestCaseSansDB):
             'effort': 1.0})
 
 
+class TestsSansDBProcessStep(TestCaseSansDB):
+    """Module tests not requiring DB setup."""
+    checked_class = ProcessStep
+
+    def test_ProcessStep_id_setting(self) -> None:
+        """Test .id_ being set and its legal range being enforced."""
+        self.check_id_setting(2, 3, 4)
+
+
 class TestsWithDB(TestCaseWithDB):
     """Module tests requiring DB setup."""
     checked_class = Process