Skip to content

Commit

Permalink
saving state
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielfalcao committed Sep 27, 2023
1 parent dc7468e commit 3bf933b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sure/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def run(self, context):

try:
for name, test, location in self.test_methods:
result = self.run_single_test(test, context, name=name, location=location)
result = self.perform_unit(test, context, name=name, location=location)
if result.failure:
last_failure = result
if result.error:
Expand All @@ -256,7 +256,7 @@ def run(self, context):
finally:
yield self.run_complements()

def run_single_test(self, test, context, name, location):
def perform_unit(self, test, context, name, location):
self.log.set_location(location)
try:
self.invoke_contextualized(test, context, name, location)
Expand Down

0 comments on commit 3bf933b

Please sign in to comment.