def test_set_participate_state(self, process_url, app_admin):
        resp = app_admin.get(process_url)
        assert resp.status_code == 200

        resp = do_transition_to(app_admin, process_url, 'announce')
        assert resp.status_code == 200

        resp = do_transition_to(app_admin, process_url, 'participate')
        assert resp.status_code == 200
Example #2
0
    def test_set_participate_state(self, process_url, app_admin):
        resp = app_admin.get(process_url)
        assert resp.status_code == 200

        resp = do_transition_to(app_admin,
                                process_url,
                                'announce')
        assert resp.status_code == 200

        resp = do_transition_to(app_admin,
                                process_url,
                                'participate')
        assert resp.status_code == 200
 def test_set_process_evaluate_state(self, process_url, app_admin):
     resp = do_transition_to(app_admin, process_url, 'evaluate')
     assert resp.status_code == 200
 def test_set_process_state_announce(self, process_url, app_admin):
     resp = do_transition_to(app_admin, process_url, 'announce')
     assert resp.status_code == 200
Example #5
0
 def test_set_closed_state(self, process_url, app_admin):
     resp = do_transition_to(app_admin,
                             process_url,
                             'closed')
     assert resp.status_code == 200
Example #6
0
 def test_change_state_to_closed(self, app_initiator):
     resp = do_transition_to(app_initiator, '/kiezkasse', 'closed')
     assert resp.status_code == 200
Example #7
0
 def test_change_state_to_participate(self, app_initiator):
     resp = do_transition_to(app_initiator, '/bplan', 'participate')
     assert resp.status_code == 200
Example #8
0
 def test_change_state_to_result_again(self, app_initiator):
     resp = do_transition_to(app_initiator, '/s1', 'result')
     assert resp.status_code == 200
Example #9
0
 def test_change_state_to_select(self, app_initiator):
     resp = do_transition_to(app_initiator, '/s1', 'select')
     assert resp.status_code == 200
Example #10
0
 def set_process_state(self, process_url, app_admin, state):
     resp = do_transition_to(app_admin,
                             process_url,
                             state)
     assert resp.status_code == 200
Example #11
0
 def test_change_state_to_select(self, app_initiator):
     resp = do_transition_to(app_initiator, '/s1', 'select')
     assert resp.status_code == 200
Example #12
0
 def test_change_state_to_frozen(self, app_initiator):
     resp = do_transition_to(app_initiator, '/bplan', 'closed')
     assert resp.status_code == 200
Example #13
0
 def test_change_state_to_participate(self, app_initiator):
     resp = do_transition_to(app_initiator, '/bplan', 'participate')
     assert resp.status_code == 200
Example #14
0
 def test_change_state_to_announce(self, app_initiator):
     resp = do_transition_to(app_initiator, '/bplan', 'announce')
     assert resp.status_code == 200
 def test_set_process_state_result(self, process_url, app_admin):
     resp = do_transition_to(app_admin, process_url, 'result')
     assert resp.status_code == 200
Example #16
0
 def test_change_state_to_result_again(self, app_initiator):
     resp = do_transition_to(app_initiator, '/s1', 'result')
     assert resp.status_code == 200
Example #17
0
 def test_change_state_to_announce(self, app_initiator):
     resp = do_transition_to(app_initiator, '/bplan', 'announce')
     assert resp.status_code == 200
Example #18
0
 def test_change_state_to_evaluate(self, app_initiator):
     resp = do_transition_to(app_initiator, '/kiezkasse', 'evaluate')
     assert resp.status_code == 200
Example #19
0
 def test_change_state_to_frozen(self, app_initiator):
     resp = do_transition_to(app_initiator, '/bplan', 'closed')
     assert resp.status_code == 200
 def test_set_closed_state(self, process_url, app_admin):
     resp = do_transition_to(app_admin, process_url, 'closed')
     assert resp.status_code == 200