Skip to content

Commit

Permalink
Merge pull request #142 from ElDeveloper/creating-a-user-for-the-demo…
Browse files Browse the repository at this point in the history
…-that-curtis-is-presenting-on-monday-at-the-NIH-meeting

TST: Fix broken tests that got merged in #139
  • Loading branch information
antgonza committed Jun 20, 2014
2 parents 8ce7089 + eeac6e7 commit ccd9266
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions qiita_db/test/test_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class SetupTest(TestCase):
"""Tests that the test database have been successfully populated"""

def test_qitta_user(self):
check_count("qiita.qiita_user", 3)
check_count("qiita.qiita_user", 4)

def test_study_person(self):
check_count("qiita.study_person", 3)
Expand All @@ -26,7 +26,7 @@ def test_study(self):
check_count("qiita.study", 1)

def test_study_users(self):
check_count("qiita.study_users", 1)
check_count("qiita.study_users", 2)

def test_investigation(self):
check_count("qiita.investigation", 1)
Expand Down
3 changes: 2 additions & 1 deletion qiita_db/test/test_study.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,8 @@ def test_set_status(self):
self.assertEqual(new.status, "private")

def test_retrieve_shared_with(self):
self.assertEqual(self.study.shared_with, ['shared@foo.bar'])
self.assertEqual(self.study.shared_with, ['shared@foo.bar',
'demo@microbio.me'])

def test_retrieve_pmids(self):
exp = ['123456', '7891011']
Expand Down

0 comments on commit ccd9266

Please sign in to comment.