Skip to content

Commit

Permalink
Fix unit test for visualization usages
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Blank committed Apr 3, 2020
1 parent 28e9cdb commit 3e822b1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Documentation_ / Paper_ / Installation_ / Usage_ / Citation_ / Contact_


.. _Installation:

Installation
====================================================================

Expand Down Expand Up @@ -71,6 +72,7 @@ directory because otherwise not the in site-packages installed version will be u
.. _Usage:

Usage
==================================

Expand Down Expand Up @@ -109,6 +111,7 @@ A representative run of NSGA2 looks as follows:


.. _Citation:

Citation
====================================================================

Expand All @@ -129,6 +132,7 @@ Meanwhile, if you have used our framework for research purposes, please cite us


.. _Contact:

Contact
====================================================================

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def packages():


data['long_description'] = readme()
data['long_description_content_type'] = 'text/x-rst'
data['packages'] = packages()


Expand Down
2 changes: 1 addition & 1 deletion tests/visualization/test_visualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class VisualizationTest(unittest.TestCase):

def test_usages(self):
folder = os.path.join(get_pymoo(), "pymoo", "usage", "visualization")
test_usage([os.path.join(folder, fname) for fname in os.listdir(folder)])
test_usage([os.path.join(folder, fname) for fname in os.listdir(folder) if fname.endswith("py")])

if __name__ == '__main__':
unittest.main()

0 comments on commit 3e822b1

Please sign in to comment.