Skip to content

Commit

Permalink
Fixed failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vigneshhari committed Jul 7, 2022
1 parent 619ff4e commit b10941b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions care/facility/tests/test_facility_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def test_create(self):
"facility_type": "Educational Inst",
"address": "Nearby",
"pincode": 390024,
"features" : []
}
response = self.new_request(
('/api/v1/facility/', sample_data, 'json'),
Expand Down
2 changes: 0 additions & 2 deletions care/utils/tests/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from uuid import uuid4

import dateparser
from django.contrib.gis.geos import Point
from django.utils.timezone import make_aware
from pytz import unicode
from rest_framework import status
Expand Down Expand Up @@ -78,7 +77,6 @@ def create_facility(cls, district: District, user: User = None, **kwargs):
"district": district,
"facility_type": 1,
"address": "8/88, 1st Cross, 1st Main, Boo Layout",
"location": Point(24.452545, 49.878248),
"pincode": 123456,
"oxygen_capacity": 10,
"phone_number": "9998887776",
Expand Down

0 comments on commit b10941b

Please sign in to comment.