Skip to content

Commit

Permalink
test importing country
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosp420 committed May 13, 2015
1 parent 38e5f69 commit 561fdac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions voseq/public_interface/tests/test_migrate_db.py
Expand Up @@ -158,6 +158,10 @@ def test_voucher_image(self):
results = [i.voucherImage for i in c]
self.assertTrue('https://www.flickr.com/photos/nsg_db/15728978251/' in results)

def test_country(self):
b = Vouchers.objects.get(code='CP100-09')
self.assertEqual('FINLAND', b.country)

def test_primers(self):
b = Sequences.objects.get(code='CP100-10', gene_code='EF1a')
c = Primers.objects.filter(for_sequence=b)
Expand Down

0 comments on commit 561fdac

Please sign in to comment.