Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrokar1993 committed May 16, 2024
1 parent f5c470f commit d6d0477
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 13 deletions.
6 changes: 4 additions & 2 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
Usage
=====

To use RAMP_GUI in a project::
To use RAMP_GUI::

import ramp_gui
1. Create an environment with the requirements.

2. python main.py
26 changes: 26 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
contourpy==1.2.1
cycler==0.12.1
et-xmlfile==1.1.0
fonttools==4.51.0
kiwisolver==1.4.5
matplotlib==3.9.0
numpy==1.26.4
openpyxl==3.1.2
packaging==24.0
pandas==2.2.2
pillow==10.3.0
plotly==5.22.0
pyparsing==3.1.2
PyQt5==5.15.10
PyQt5-Qt5==5.15.13
PyQt5-sip==12.13.0
PyQt5-stubs==5.15.6.0
python-dateutil==2.9.0.post0
pytz==2024.1
ramp==0.1.4
rampdemand==0.5.0
six==1.16.0
tenacity==8.3.0
tqdm==4.66.4
tzdata==2024.1
XlsxWriter==3.2.0
17 changes: 8 additions & 9 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
pip==23.3
bump2version==0.5.11
wheel==0.38.1
watchdog==0.9.0
tox==3.14.0
coverage==4.5.4
Sphinx==7.2.6
twine==5.0.0
ruff==0.3.5
bump2version
wheel
watchdog
tox
coverage
Sphinx
twine
ruff


4 changes: 2 additions & 2 deletions tests/test_ramp_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@


import unittest

from ramp_gui import ramp_gui
from src.ramp_gui import ramp_gui


class TestRamp_gui(unittest.TestCase):
Expand All @@ -19,3 +18,4 @@ def tearDown(self):

def test_000_something(self):
"""Test something."""
ramp_gui.ramp_gui()

0 comments on commit d6d0477

Please sign in to comment.