Exemple #1
0
 def test_get_fda_ndc(self):
     endpoint = Endpoint("fda")
     ndc = endpoint.get_product_ndc("warfarin")
     # print(ndc)
     self.assertEqual("53217-001", ndc)
Exemple #2
0
 def test_part_1_look_up_product_ndc(self):
     # TODO: Complete test by adding call to method to look up product ndp for warfarin
     endpoint = Endpoint("mock")
     product_ndc = endpoint.get_product_ndc("warfarin")
     self.assertEqual(product_ndc, '71610-173')