Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhrisca committed Oct 11, 2024
1 parent a2dc682 commit 4f83149
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion test/asammdf/gui/dialogs/test_FunctionsManagerDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,9 @@ def test_PushButton_SaveDefinitions(self):
self.assertTrue(saved_file.exists())
with open(saved_file) as fpr:
content = json.load(fpr)
self.assertDictEqual(content, {"Function1": "def Function1(t=0):\n return 0"})
self.assertDictEqual(
content, {"Function1": "def Function1(t=0):\n return 0", "__global_variables__": ""}
)

def test_PushButton_CheckSyntax_0(self):
"""
Expand Down
4 changes: 2 additions & 2 deletions test/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
natsort
numexpr
numpy>=1.23.0
numpy<2.0.0
pandas
psutil
pyautogui
Expand All @@ -10,7 +10,7 @@ pytest-cov
canmatrix[arxml,dbc]>=1.0
lz4
typing_extensions
PySide6
PySide6==6.7.3
pyqtgraph
python-dateutil
isal; platform_machine == "x86_64" or platform_machine == "AMD64"

0 comments on commit 4f83149

Please sign in to comment.