cr-connect-workflow/tests/test_approvals.py
Dan Funk 148e86bb42 Building out the boilerplate code to make pushing forward on this a little friendlier.
There is an approval api file, and approval model file and an approval test file.
2020-05-22 18:25:00 -04:00

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)