2020# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121# SOFTWARE.
2222
23+ import pytest
2324from flask .testing import FlaskClient
2425
2526from resource_api_client import ResourceAPIClient
2627
2728
29+ @pytest .mark .skip ('TODO' )
2830def test_create (client : FlaskClient ):
2931 rac = ResourceAPIClient (client )
3032 (resp , resp_body ) = rac .create (owner = 'MrMat' , name = 'Test Resource 1' )
@@ -34,6 +36,7 @@ def test_create(client: FlaskClient):
3436 assert resp_body ['name' ] == 'Test Resource 1'
3537
3638
39+ @pytest .mark .skip ('TODO' )
3740def test_modify (client : FlaskClient ):
3841 rac = ResourceAPIClient (client )
3942 (resp , resp_body ) = rac .create (owner = 'MrMat' , name = 'Test Resource Original' )
@@ -49,6 +52,7 @@ def test_modify(client: FlaskClient):
4952 assert resp_body ['name' ] == 'Test Resource Modified'
5053
5154
55+ @pytest .mark .skip ('TODO' )
5256def test_remove (client : FlaskClient ):
5357 rac = ResourceAPIClient (client )
5458 (resp , resp_body ) = rac .create (owner = 'MrMat' , name = 'Short-lived Test Resource' )
@@ -60,6 +64,7 @@ def test_remove(client: FlaskClient):
6064 assert resp_body is None
6165
6266
67+ @pytest .mark .skip ('TODO' )
6368def test_get_all (client : FlaskClient ):
6469 rac = ResourceAPIClient (client )
6570 (resp , resp_body ) = rac .get_all ()
@@ -76,6 +81,7 @@ def test_get_all(client: FlaskClient):
7681 assert len (resp_body ['resources' ]) == 1
7782
7883
84+ @pytest .mark .skip ('TODO' )
7985def test_get_one (client : FlaskClient ):
8086 rac = ResourceAPIClient (client )
8187 (resp , resp_body ) = rac .get_one (1 )
0 commit comments