예제 #1
0
 def test_identical(self):
     self._copy_file_from_fixture("config.json-initial", "old_config.json")
     self._copy_file_from_fixture("config.json-initial", "new_config.json")
     eq_(
         False,
         internal_tasks.config_changes_invalidate_templates(
             generate, "old_config.json", "new_config.json"))
예제 #2
0
 def test_partners_changed(self):
     self._copy_file_from_fixture("config.json-initial", "old_config.json")
     self._copy_file_from_fixture("config.json-nested_partner_change",
                                  "new_config.json")
     eq_(
         True,
         internal_tasks.config_changes_invalidate_templates(
             generate, "old_config.json", "new_config.json"))
예제 #3
0
 def test_modules_changed(self):
     self._copy_file_from_fixture("config.json-initial", "old_config.json")
     self._copy_file_from_fixture("config.json-invalid_json",
                                  "new_config.json")
     internal_tasks.config_changes_invalidate_templates(
         generate, "old_config.json", "new_config.json")
	def test_modules_changed(self):
		self._copy_file_from_fixture("config.json-initial", "old_config.json")
		self._copy_file_from_fixture("config.json-invalid_json", "new_config.json")
		internal_tasks.config_changes_invalidate_templates(generate, "old_config.json", "new_config.json")
	def test_partners_changed(self):
		self._copy_file_from_fixture("config.json-initial", "old_config.json")
		self._copy_file_from_fixture("config.json-nested_partner_change", "new_config.json")
		eq_(True, internal_tasks.config_changes_invalidate_templates(
			generate, "old_config.json", "new_config.json"))
	def test_identical(self):
		self._copy_file_from_fixture("config.json-initial", "old_config.json")
		self._copy_file_from_fixture("config.json-initial", "new_config.json")
		eq_(False, internal_tasks.config_changes_invalidate_templates(
			generate, "old_config.json", "new_config.json"))