def setup_args3(self):
     # Coordinate columns in the "wrong" order.
     return geocoder.parse_args([
         '-p', 'example_data/polygons.txt', '-l',
         'tests/localities_wrong_coordinate-order.csv'
     ])
 def setup_args(self):
     #		return geocoder.parse_args(['-p', 'example_data/polygons.txt', '-l', 'example_data/localities.csv'])
     return geocoder.parse_args([
         '-p', 'example_data/polygons.txt', '-l',
         'example_data/localities.csv', '-t', 'example_data/*.tif'
     ])
 def setup_args2(self):
     return geocoder.parse_args([
         '-p', 'example_data/polygons.txt', '-g',
         'example_data/gbif_Ivesia_localities.txt'
     ])
 def test_version(self, capsys):
     with pytest.raises(SystemExit):
         args = geocoder.parse_args(['--version'])
     out, err = capsys.readouterr()
     assert err == version
	def setup_args3(self):
		# Coordinate columns in the "wrong" order.
		return geocoder.parse_args(['-p', 'example_data/polygons.txt', '-l', 'tests/localities_wrong_coordinate-order.csv'])
	def setup_args2(self):
		return geocoder.parse_args(['-p', 'example_data/polygons.txt', '-g', 'example_data/gbif_Ivesia_localities.txt'])
	def setup_args(self):
#		return geocoder.parse_args(['-p', 'example_data/polygons.txt', '-l', 'example_data/localities.csv'])
		return geocoder.parse_args(['-p', 'example_data/polygons.txt', '-l', 'example_data/localities.csv', '-t', 'example_data/*.tif'])
	def test_version(self, capsys):
		with pytest.raises(SystemExit):
			args = geocoder.parse_args(['--version'])
		out, err = capsys.readouterr()
		assert err == version