Commit 67b619ba authored by David Mendez's avatar David Mendez

Fix typo

parent 40fe5f62
......@@ -17,7 +17,7 @@ class TestMappingsHandling(unittest.TestCase):
"""
Tests that given a mapping from ES it produces a mapping to put to the subset index
"""
sample_mapping_path = 'app/es_subset_generator/test/data/sample_mapping_.json'
sample_mapping_path = 'app/es_subset_generator/test/data/sample_mapping_1.json'
with open(sample_mapping_path, 'rt') as sample_mapping_file:
mapping_from_base_index = json.load(sample_mapping_file)
......@@ -30,7 +30,7 @@ class TestMappingsHandling(unittest.TestCase):
Test that it locates the config of a property
"""
sample_mapping_path = 'app/es_subset_generator/test/data/sample_mapping_.json'
sample_mapping_path = 'app/es_subset_generator/test/data/sample_mapping_1.json'
with open(sample_mapping_path, 'rt') as sample_mapping_file:
mapping_from_base_index = json.load(sample_mapping_file)
......@@ -59,7 +59,7 @@ class TestMappingsHandling(unittest.TestCase):
"""
Tests that when locating the config of a property that does not exist it raises an error
"""
sample_mapping_path = 'app/es_subset_generator/test/data/sample_mapping_.json'
sample_mapping_path = 'app/es_subset_generator/test/data/sample_mapping_1.json'
with open(sample_mapping_path, 'rt') as sample_mapping_file:
with self.assertRaises(mappings.MappingsHandlingError,
......@@ -75,7 +75,7 @@ class TestMappingsHandling(unittest.TestCase):
in ES
"""
sample_mapping_path = 'app/es_subset_generator/test/data/sample_mapping_.json'
sample_mapping_path = 'app/es_subset_generator/test/data/sample_mapping_1.json'
with open(sample_mapping_path, 'rt') as sample_mapping_file:
mapping_from_base_index = json.load(sample_mapping_file)
......@@ -94,7 +94,7 @@ class TestMappingsHandling(unittest.TestCase):
Gets the mapping of a property when the property is nested
"""
sample_mapping_path = 'app/es_subset_generator/test/data/sample_mapping_.json'
sample_mapping_path = 'app/es_subset_generator/test/data/sample_mapping_1.json'
with open(sample_mapping_path, 'rt') as sample_mapping_file:
mapping_from_base_index = json.load(sample_mapping_file)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment