Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
DinisCruz committed Aug 20, 2024
1 parent 2647ad6 commit 0cdfc89
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/helpers/trace/test_Trace_Call.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,8 @@ def test__trace_up_to_a_level(self):
if sys.version_info < (3, 8):
pytest.skip("Skipping test that need FIXING on 3.7 or lower")

if not in_github_action(): # todo: rewrite this test to use an example that is not
return # as expensive as Python_Logger since it is taking 200+ms (which is about 50% of the all OSBot_Utils tests
if not in_github_action(): # todo: rewrite this test to use an example that is not
pytest.skip("Skipping locally since it last") # as expensive as Python_Logger since it is taking 200+ms (which is about 50% of the all OSBot_Utils tests
with self.config as _:
_.all()
_.up_to_depth(2)
Expand All @@ -276,7 +276,7 @@ def test__trace_up_to_a_level(self):
'Here are the 8 traces captured\n' ,
'\x1b[1m📦 Trace Session\x1b[0m' ,
'\x1b[1m│ ├── 🔗️ Python_Logger.__init__\x1b[0m' ,
'\x1b[1m│ │ ├── 🧩️ Python_Logger.__init__\x1b[0m',
'\x1b[1m│ │ ├── 🧩️ Python_Logger_Config.__init__\x1b[0m',
'\x1b[1m│ │ ├── 🧩️ set_logger_name\x1b[0m' ,
'\x1b[1m│ │ ├── 🧩️ set_config\x1b[0m' ,
'\x1b[1m│ │ └── 🧩️ setup\x1b[0m' ,
Expand Down

0 comments on commit 0cdfc89

Please sign in to comment.