Skip to content

Commit

Permalink
Testing Chart error
Browse files Browse the repository at this point in the history
  • Loading branch information
rbonghi committed Jul 25, 2024
1 parent e481d67 commit 5456b13
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions jtop/tests/test_05_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,8 @@
from ..gui import JTOPGUI, ALL, GPU, CPU, MEM, ENGINE, CTRL, INFO


@pytest.fixture(autouse=True)
def reset_cube_test():
Chart.reset_color_counter()
yield
@pytest.fixture
def reset_chart():
Chart.reset_color_counter()


Expand All @@ -44,7 +42,7 @@ def openGUI(stdscr, jetson):
return pages


def test_openGUI(setup_jtop_server):
def test_openGUI(setup_jtop_server, reset_chart):
# Load command line controller
stdscr = curses.initscr()
# Initialize colors
Expand Down

0 comments on commit 5456b13

Please sign in to comment.