Skip to content

Commit 31c2856

Browse files
committed
AMB-1741 move imms api in one place
1 parent b402bc5 commit 31c2856

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

tests/immunisation_api.py

Lines changed: 0 additions & 9 deletions
This file was deleted.

tests/test_immunisation_api.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
import pytest
22

3-
from immunisation_api import ImmunisationApi
3+
4+
class ImmunisationApi:
5+
6+
def __init__(self, url, token):
7+
self.url = url
8+
self.token = token
9+
10+
def get_event_by_id(self, event_id):
11+
# Make your request to our api here and return the response
12+
return "response"
413

514

615
# TODO: send a GET /event/{id} request

0 commit comments

Comments
 (0)