Skip to content

Commit

Permalink
Update test_external_methods_random.py
Browse files Browse the repository at this point in the history
Signed-off-by: fred-labs <[email protected]>
  • Loading branch information
fred-labs authored Nov 20, 2024
1 parent 4fefc65 commit 93929fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scenario_execution/test/test_external_methods_random.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def test_get_random_int(self):
scenario test_success:
do serial:
wait elapsed(random.get_int(0, 10))
wait elapsed(random.get_int(0, 5))
emit end
"""
parsed_tree = self.parser.parse_input_stream(InputStream(scenario_content))
Expand All @@ -65,7 +65,7 @@ def test_get_random_int(self):
self.assertTrue(self.scenario_execution.process_results())

delta = end_time - start_time
self.assertLess(delta.total_seconds(), 10.)
self.assertLess(delta.total_seconds(), 5.)

def test_get_random_string(self):
scenario_content = """
Expand Down

0 comments on commit 93929fa

Please sign in to comment.