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

Features/add tests #357

Draft
wants to merge 64 commits into
base: dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 40 commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
ba5a1b7
Update poetry lock file
MaGering Oct 26, 2023
1fc5da3
Add draft of pipeline test
MaGering Nov 23, 2023
ec73c7b
Update draft of pipeline test - first exit 0 version
MaGering Jan 8, 2024
c3ae30f
Introduce loop over rules and add comments
MaGering Jan 8, 2024
34031b5
ba5a1b7b34039bc858f05af19cc76d72370dcc97
MaGering Jan 18, 2024
f6099cb
Update test_pipeline.py
MaGering Jan 18, 2024
6771c2d
Merge branch 'dev' into features/add_tests
MaGering Apr 25, 2024
3c08821
Add drafts of tests with pipeline execution of raw data creation
MaGering Apr 30, 2024
b512b9f
Add drafts of tests with pipeline execution of resources and table da…
MaGering Apr 30, 2024
8b4401a
Add drafts of tests with pipeline execution of scenario and example r…
MaGering Apr 30, 2024
16d09d3
Restructure test_pipeline.py
MaGering Apr 30, 2024
a5b3fb5
Add docstring to install_with_extra function
Stefanie08 May 6, 2024
b7da7de
Move and rename test_pipeline.py
Stefanie08 May 6, 2024
5857b01
Adjust path to testing_pipeline.py
Stefanie08 May 6, 2024
f4136eb
Add docstrings to functions and update comments
Stefanie08 May 7, 2024
1c1f371
Correct docstrings
Stefanie08 May 7, 2024
61710ac
Add function get_abs_path_list
Stefanie08 May 14, 2024
4a9158a
Extract function get_abs_path_list
Stefanie08 May 22, 2024
8a98908
Add function file_name_extension
Stefanie08 May 22, 2024
2c1775e
Add functions clean_file and rule_test
Stefanie08 May 24, 2024
43455c9
Add docstring and comment to function pipeline_file_output_test
Stefanie08 May 24, 2024
53c5a5a
Add and correct docstring
Stefanie08 May 24, 2024
573ae42
Add docstring to test_pipeline_resources_tables.py
Stefanie08 May 24, 2024
c0cafc5
Adjust function file_name_extension
Stefanie08 May 24, 2024
19c2a40
Add docstring to test_pipeline_raw_data.py
Stefanie08 May 24, 2024
eb1b1a2
Add docstring for testing_pipeline.py
Stefanie08 May 24, 2024
d3826d2
Apply black
Stefanie08 May 29, 2024
861cf09
Apply black and update function pipeline_file_output_test
Stefanie08 May 29, 2024
e70b34c
Apply black
MaGering May 31, 2024
dd511dc
Raise Exception in test_raw_dir function if raw data can not be downl…
MaGering May 31, 2024
9d0e3a3
Fix test_raw_dir snakemake MissingRule Exception which led to assert …
MaGering May 31, 2024
874d8a5
Fix UnboundLocalError of renamed_path
MaGering May 31, 2024
0417c98
Raise FileExists error if _original name suffix already exists before…
MaGering May 31, 2024
22970da
Download raw data for tests of pipeline and delete it afterwards if i…
MaGering May 31, 2024
2602880
Add logging for test_raw_dir
MaGering Jun 3, 2024
606062b
Merge branch 'features/modify_tests' into features/add_tests
MaGering Jun 3, 2024
347199b
Convert raw_dir_rule to list because of consistency reasons
MaGering Jun 3, 2024
3997415
Update result rules to be testes in test_pipeline_results
MaGering Jun 3, 2024
ed60f78
Add snakemake rule names in comments
MaGering Jun 3, 2024
b4feaf2
Add rule names
Stefanie08 Jun 3, 2024
4de25ed
Add function test_pipeline_folders to test_pipeline_results.py and ad…
Stefanie08 Jun 4, 2024
9189269
Correct variable
Stefanie08 Jun 4, 2024
1541b0c
Add raw data check
Stefanie08 Jun 5, 2024
f166b25
Move and rename function test_pipeline_folders
Stefanie08 Jun 5, 2024
98b4bf2
Add cbc to github checks pre-dependencies
MaGering Jun 5, 2024
7e0d82d
Fix the accidental change in commit f166b25
MaGering Jun 5, 2024
6824ab7
Apply changes to docstrings and functions from review
Stefanie08 Jun 7, 2024
abfa330
Update docstring in test_pipeline_raw_data.py
Stefanie08 Oct 2, 2024
4f93e74
Adapt docstrings
MaGering Oct 9, 2024
c7b53bd
Adapt docstrings
Stefanie08 Oct 11, 2024
cbd165c
Resolve merge conflicts
Stefanie08 Oct 11, 2024
6bd0463
Apply black
Stefanie08 Oct 11, 2024
1d60177
Update docstring
Stefanie08 Oct 18, 2024
f7d6cef
Add check for '_original' file existence in function pipeline_file_o…
Stefanie08 Oct 18, 2024
7a2ba06
Add docstrings
Stefanie08 Oct 23, 2024
030f86d
Update code for function pipeline_folder_output_test
Stefanie08 Oct 25, 2024
70ea3de
Update function pipeline_file_output_test
Stefanie08 Oct 25, 2024
5ed0d3b
Update docstrings in module testing_pipeline.py
Stefanie08 Oct 25, 2024
37753e6
Make code more robust
Stefanie08 Oct 26, 2024
6dae213
Add check for files in function pipeline_folder_output_test
Stefanie08 Oct 30, 2024
0a55eb6
Rename function pipeline_folder_output_test
Stefanie08 Oct 31, 2024
dc762e2
Replace renamed function pipeline_output_test in modules
Stefanie08 Oct 31, 2024
ca75bbd
Update function pipeline_file_output_test
Stefanie08 Nov 1, 2024
5e3eb48
Delete function pipeline_file_output_test
Stefanie08 Nov 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 18 additions & 17 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,43 +12,44 @@
#
import os
import sys
sys.path.insert(0, os.path.abspath('../'))
sys.path.insert(0, os.path.abspath('../scripts'))
sys.path.insert(0, os.path.abspath('../oemof_b3/config/'))

sys.path.insert(0, os.path.abspath("../"))
sys.path.insert(0, os.path.abspath("../scripts"))
sys.path.insert(0, os.path.abspath("../oemof_b3/config/"))

# -- Project information -----------------------------------------------------

project = 'oemof-B3'
copyright = '2020, Reiner Lemoine Institut'
author = 'Reiner Lemoine Institut'
project = "oemof-B3"
copyright = "2020, Reiner Lemoine Institut"
author = "Reiner Lemoine Institut"
Comment on lines -21 to +24
Copy link
Collaborator Author

@MaGering MaGering Jun 3, 2024

Choose a reason for hiding this comment

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

Do you know why these and following changed?


# The full version, including alpha/beta/rc tags
release = '0.0.5dev'
release = "0.0.5dev"


# -- General configuration ---------------------------------------------------
master_doc = 'index'
master_doc = "index"
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.coverage',
'sphinx.ext.napoleon',
'sphinxcontrib.bibtex',
'sphinx.ext.autosectionlabel'
"sphinx.ext.autodoc",
"sphinx.ext.coverage",
"sphinx.ext.napoleon",
"sphinxcontrib.bibtex",
"sphinx.ext.autosectionlabel",
]

# specify bibfiles for sphinxcontrib.bibtex
bibtex_bibfiles = ['bibliography.bib']
bibtex_bibfiles = ["bibliography.bib"]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
templates_path = ["_templates"]

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]


# -- Options for HTML output -------------------------------------------------
Expand All @@ -65,7 +66,7 @@
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_static_path = ["_static"]


# -- Options for Sphinx autodoc ----------------------------------------------
Expand Down
Loading
Loading