def test_invalid_region_and_species_for_region_species_obs(self): response = recent.region_species_obs('rtype', 'subnational', 'Sci name') print("test_invalid_region_species_obs response = ", response) self.assertEqual(response, '[]')
def get_species(region, fullName): data = recent.region_species_obs(region, fullName) return render_template('species_results.html', data=data, name=fullName)
def test_invalid_region_for_region_species_obs(self): response = recent.region_species_obs('rtype', 'subregion', 'Aix sponsa') print("test_invalid_region_species_obs response = ", response) self.assertEqual(response, '[]')