Skip to content

Commit

Permalink
Emprolijo un poco los tests
Browse files Browse the repository at this point in the history
refs:#87
  • Loading branch information
leandro-gomez committed Dec 20, 2017
1 parent 3193230 commit dd91aba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ def run_case(self, case_filename, expected_dict=None):
raise Exception("LA RESPUESTA {} TIENE UN status INVALIDO".format(
case_filename))

assert_dict_equal.__self__.maxDiff = None
assert_dict_equal(expected_dict, response_dict)

# Tests de CAMPOS REQUERIDOS
Expand Down Expand Up @@ -142,7 +141,7 @@ def test_several_assorted_errors(self):
]

for path, regex in expected_errors:
self.validate_contains_message_with_file(case_filename, path, regex)
yield self.validate_contains_message_with_file, case_filename, path, regex

def validate_message_with_file(self, case_filename, expected_valid, path, regex):
sample_path = os.path.join(self.SAMPLES_DIR, case_filename + ".json")
Expand Down

0 comments on commit dd91aba

Please sign in to comment.