mirror of
https://github.com/sartography/cr-connect-workflow.git
synced 2025-02-23 13:18:35 +00:00
15 lines
426 B
Python
15 lines
426 B
Python
|
from tests.base_test import BaseTest
|
||
|
|
||
|
|
||
|
class TestApprovals(BaseTest):
|
||
|
|
||
|
def test_list_approvals(self):
|
||
|
rv = self.app.get('/v1.0/approval', headers=self.logged_in_headers())
|
||
|
self.assert_success(rv)
|
||
|
|
||
|
def test_update_approval(self):
|
||
|
rv = self.app.put('/v1.0/approval/1',
|
||
|
headers=self.logged_in_headers(),
|
||
|
data={})
|
||
|
self.assert_success(rv)
|