'Tests if version data is being preserved'

def test_version_preserved(self):

    self._create_set()
    data_old = json.loads(open('static/uploads/test_event_import/event').read())
    data = self._make_zip_from_dir()
    event_dic = self._do_succesful_import(data)
    for i in data_old['version']:
        self.assertEqual(data_old['version'][i], event_dic['version'][i], (json.dumps(data_old['version']) + json.dumps(event_dic['version'])))
