#!/bin/sh
set -e
-# for dir in $(echo 'tests'); do
for dir in $(echo '.' 'plomtask' 'tests'); do
echo "Running mypy on ${dir}/ …."
python3 -m mypy --strict ${dir}/*.py
exp.lib_set('ProcessStep', [exp.procstep_as_dict(
11, owner_id=8, step_process_id=7)])
self.check_post(p_min | p | {'new_top_step': 8}, url, 400)
- # fail on single-step recursion via explicit sub-step
- self.check_json_get(url, exp)
+ # fail on single- and double-step recursion via explicit sub-step
self.check_post(p_min | p | {'new_step_to_8': 7}, url, 400)
- # fail on double-step recursion via explicit sub-step
- self.check_json_get(url, exp)
self.check_post(p_min | p | {'new_step_to_8': 8}, url, 400)
def test_fail_GET_process(self) -> None: