def test_set_participate_state(self, registry, app, 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_participate_state(self, registry, 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_closed_state(self, registry, app, process_url, app_admin):
     resp = do_transition_to(app_admin,
                             process_url,
                             'closed')
     assert resp.status_code == 200
Exemple #4
0
 def test_change_state_to_frozen(self, registry, app_initiator):
     resp = do_transition_to(app_initiator, '/bplan', 'evaluate')
     assert resp.status_code == 200
Exemple #5
0
 def test_change_state_to_participate(self, registry, app_initiator):
     resp = do_transition_to(app_initiator, '/bplan', 'participate')
     assert resp.status_code == 200
Exemple #6
0
 def test_change_state_to_announce(self, app_initiator):
     resp = do_transition_to(app_initiator, '/', 'announce')
     assert resp.status_code == 200
 def test_change_state_to_evaluate(self, app_initiator):
     resp = do_transition_to(app_initiator, '/kiezkasse', 'evaluate')
     assert resp.status_code == 200
Exemple #8
0
 def test_change_state_to_select(self, app_initiator):
     resp = do_transition_to(app_initiator, '/s1', 'select')
     assert resp.status_code == 200
Exemple #9
0
 def test_change_state_to_select(self, app_initiator):
     resp = do_transition_to(app_initiator, '/s1', 'select')
     assert resp.status_code == 200
 def test_change_state_to_result(self, app_initiator):
     resp = do_transition_to(app_initiator, '/digital_leben', 'result')
     assert resp.status_code == 200
 def test_change_state_to_participate(self, app_initiator):
     resp = do_transition_to(app_initiator, '/digital_leben', 'participate')
     assert resp.status_code == 200
Exemple #12
0
 def test_change_state_to_closed(self, registry, app_initiator):
     resp = do_transition_to(app_initiator, '/kiezkasse', 'closed')
     assert resp.status_code == 200
Exemple #13
0
 def test_change_state_to_announce(self,
                                   registry,
                                   app_initiator,
                                   app_god):
     resp = do_transition_to(app_initiator, '/kiezkasse', 'announce')
     assert resp.status_code == 200
Exemple #14
0
 def test_set_result_state(self, registry, process_url, app_admin):
     resp = do_transition_to(app_admin, process_url, 'result')
     assert resp.status_code == 200
 def test_change_state_to_closed(self, app_initiator):
     resp = do_transition_to(app_initiator, '/kiezkasse', 'closed')
     assert resp.status_code == 200
 def test_change_state_to_announce(self, app_initiator):
     resp = do_transition_to(app_initiator, '/', 'announce')
     assert resp.status_code == 200
 def test_change_state_to_participate(self, app_initiator):
     resp = do_transition_to(app_initiator, '/', 'participate')
     assert resp.status_code == 200
Exemple #18
0
 def test_change_state_to_result_again(self, app_initiator):
     resp = do_transition_to(app_initiator, '/s1', 'result')
     assert resp.status_code == 200
 def test_change_state_to_frozen(self, app_initiator):
     resp = do_transition_to(app_initiator, '/', 'evaluate')
     assert resp.status_code == 200
Exemple #20
0
 def test_change_state_to_result_again(self, app_initiator):
     resp = do_transition_to(app_initiator, '/s1', 'result')
     assert resp.status_code == 200
Exemple #21
0
 def test_change_state_to_result(self, app_initiator, registry):
     resp = do_transition_to(app_initiator, '/debate', 'result')
     assert resp.status_code == 200