-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #236 from VlachosGroup/tooltip-test-dev
This pull request changes the `ToolTip` to use a better maintained alternative (as well as a unit test to that effect) and updates the format and build checker GitHub actions to more recent versions of python.
- Loading branch information
Showing
6 changed files
with
60 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ psutil | |
padelpy | ||
plotly | ||
customtkinter | ||
tkinter-tooltip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
""" Test the ToolTip package (and all UI packages) """ | ||
import unittest | ||
|
||
|
||
class TestToolTip(unittest.TestCase): | ||
""" | ||
Test the ToolTip package (and all UI packages) by importing them | ||
""" | ||
|
||
def test_import(self): | ||
"""Attempt to import the UI app to ensure imports are correct | ||
""" | ||
try: | ||
from interfaces.UI.AIMSim_ui_main import AIMSimUiApp | ||
except Exception: | ||
self.fail('Unable to import AIMSim UI') | ||
|
||
|
||
if __name__ == "__main__": | ||
unittest.main() |