Skip to content

Commit

Permalink
fix login in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fredkingham committed Mar 17, 2016
1 parent 93bc397 commit 4b4affe
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions elcid/test/test_pathways.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@
from datetime import date


class TestPathwayGet(OpalTestCase):
def test_get_pathway(self):
pass


class TestPathwayPost(OpalTestCase):
url = "/pathway/cernerdemo/save/"

def setUp(self):
self.assertTrue(
self.client.login(
username=self.user.username, password=self.PASSWORD
)
)

def test_post_pathway(self):
self.client.login(username=self.USERNAME, password=self.PASSWORD)
test_data = dict(
demographics=[dict(hospital_number=234, nhs_number=12312)],
procedure=[dict(date=date.today())]
Expand Down

0 comments on commit 4b4affe

Please sign in to comment.