Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clean up the available software script and the tests #239

Merged
merged 16 commits into from
Aug 1, 2024

Conversation

laraPPr
Copy link
Collaborator

@laraPPr laraPPr commented Aug 1, 2024

No description provided.

@laraPPr
Copy link
Collaborator Author

laraPPr commented Aug 1, 2024

When I run the tests locally they pass

================================ test session starts =================================

platform linux -- Python 3.11.3, pytest-8.3.2, pluggy-1.5.0 -- /kyukon/scratch/gent/vo/000/gvo00002/vsc46128/EESSI/module_overview_venv/bin/python

cachedir: .pytest_cache

rootdir: /kyukon/scratch/gent/vo/000/gvo00002/vsc46128/EESSI/docs/scripts/available_software

collected 9 items                                                                    



tests/test_data.py::TestData::test_data_eessi Start collecting modules:

	 Collecting available modules for /cvmfs/software.eessi.io/versions/2023.06/software/linux/aarch64/generic... found 13 modules!

	 Collecting available modules for /cvmfs/software.eessi.io/versions/2023.06/software/linux/x86_64/amd/zen2... found 15 modules!

All data collected!



PASSED

tests/test_json.py::TestJSON::test_json_generate_simple Start collecting modules:

	 Collecting available modules for /cvmfs/software.eessi.io/versions/2023.06/software/linux/aarch64/generic... found 13 modules!

	 Collecting available modules for /cvmfs/software.eessi.io/versions/2023.06/software/linux/x86_64/amd/zen2... found 15 modules!

All data collected!



PASSED

tests/test_json.py::TestJSON::test_json_simple Start collecting modules:

	 Collecting available modules for /cvmfs/software.eessi.io/versions/2023.06/software/linux/aarch64/generic... found 13 modules!

	 Collecting available modules for /cvmfs/software.eessi.io/versions/2023.06/software/linux/x86_64/amd/zen2... found 15 modules!

All data collected!



PASSED

tests/test_json.py::TestJSON::test_json_detail_simple Start collecting modules:

	 Collecting available modules for /cvmfs/software.eessi.io/versions/2023.06/software/linux/aarch64/generic... found 13 modules!

	 Collecting available modules for /cvmfs/software.eessi.io/versions/2023.06/software/linux/x86_64/amd/zen2... found 15 modules!

All data collected!



PASSED

tests/test_md.py::TestMarkdown::test_table_generate_simple Start collecting modules:

	 Collecting available modules for /cvmfs/software.eessi.io/versions/2023.06/software/linux/aarch64/generic... found 13 modules!

	 Collecting available modules for /cvmfs/software.eessi.io/versions/2023.06/software/linux/x86_64/amd/zen2... found 15 modules!

All data collected!



PASSED

tests/test_md.py::TestMarkdown::test_md_simple Start collecting modules:

	 Collecting available modules for /cvmfs/software.eessi.io/versions/2023.06/software/linux/aarch64/generic... found 13 modules!

	 Collecting available modules for /cvmfs/software.eessi.io/versions/2023.06/software/linux/x86_64/amd/zen2... found 15 modules!

All data collected!



Generating markdown table... Done!

PASSED

tests/test_module.py::TestModule::test_avail PASSED

tests/test_module.py::TestModule::test_avail_filtered PASSED

tests/test_module.py::TestModule::test_whatis PASSED



================================= 9 passed in 3.12s ==================================


Copy link
Collaborator

@trz42 trz42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@trz42 trz42 merged commit 496c999 into EESSI:main Aug 1, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants