Skip to content

Commit

Permalink
TST: test for biocore#616
Browse files Browse the repository at this point in the history
  • Loading branch information
wasade committed Sep 13, 2016
1 parent 8880951 commit e4fc1a9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions amgut/lib/data_access/test/test_ag_data_access.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,14 @@ def test_deleteAGParticipantSurvey(self):
'REMOVED', today]]
self.assertItemsEqual(res, exp)

@rollback
def test_deleteAGParticipantSurvey_with_sample_bug(self):
# issue 616
self.ag_data.deleteAGParticipantSurvey(
'd8592c74-9694-2135-e040-8a80115d6401', 'REMOVED-0')
with self.assertRaises(ValueError):
self.ag_data.getConsent('be8516e8c5d4ff4d')

def test_getConsent(self):
res = self.ag_data.getConsent("8b2b45bb3390b585")
exp = {'date_signed': None,
Expand Down

0 comments on commit e4fc1a9

Please sign in to comment.