def csv2geojson_test(self):

        input_csv = self.data_input_folder + "significantmonth.csv"
        output_geojson = self.data_output_folder + "significantmonth.geojson"
        csv_to_geojson(input_csv, output_geojson)
        self.assertTrue(os.path.exists(output_geojson) == 1, msg="Current working directory is: , {0}".format(os.getcwd()) )
        num_lines = sum(1 for line in open(output_geojson))
        self.assertTrue(num_lines == 369)
        self.assertTrue(validate_geojson_from_file(output_geojson))
Testing that CSV correctly translates to GeoJSON
dataset/ETHPy150Open JamesMilnerUK/Loxo/tests/converisontools_test.py/conversionTest.csv2geojson_test