Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SaQC
Manage
Activity
Members
Labels
Plan
Issues
36
Issue boards
Milestones
Wiki
Code
Merge requests
8
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
rdm-software
SaQC
Commits
3ab57adc
Commit
3ab57adc
authored
2 years ago
by
David Schäfer
Browse files
Options
Downloads
Plain Diff
Merge branch 'plot_test' into 'develop'
fix plotting test See merge request
!603
parents
a0723e77
67606463
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!685
Release 2.4
,
!684
Release 2.4
,
!603
fix plotting test
Pipeline
#143622
passed with stages
in 9 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/funcs/test_tools.py
+8
-6
8 additions, 6 deletions
tests/funcs/test_tools.py
with
8 additions
and
6 deletions
tests/funcs/test_tools.py
+
8
−
6
View file @
3ab57adc
...
...
@@ -2,6 +2,8 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
from
pathlib
import
Path
import
numpy
as
np
import
pandas
as
pd
import
pytest
...
...
@@ -11,7 +13,7 @@ import saqc
@pytest.mark.slow
def
test_makeFig
():
def
test_makeFig
(
tmp_path
):
# just testing for no errors to occure...
data
=
dios
.
DictOfSeries
(
pd
.
Series
(
...
...
@@ -28,11 +30,11 @@ def test_makeFig():
)
# not interactive, no storing
dummy_path
=
""
outfile
=
str
(
Path
(
tmp_path
,
"
test.png
"
))
# the filesystem's temp dir
d_saqc
=
d_saqc
.
plot
(
field
=
"
data
"
,
path
=
""
)
d_saqc
=
d_saqc
.
plot
(
field
=
"
data
"
,
path
=
dummy_path
,
history
=
"
valid
"
,
stats
=
True
)
d_saqc
=
d_saqc
.
plot
(
field
=
"
data
"
,
path
=
dummy_path
,
history
=
"
complete
"
)
d_saqc
=
d_saqc
.
plot
(
field
=
"
data
"
,
path
=
outfile
)
d_saqc
=
d_saqc
.
plot
(
field
=
"
data
"
,
path
=
outfile
,
history
=
"
valid
"
,
stats
=
True
)
d_saqc
=
d_saqc
.
plot
(
field
=
"
data
"
,
path
=
outfile
,
history
=
"
complete
"
)
d_saqc
=
d_saqc
.
plot
(
field
=
"
data
"
,
path
=
dummy_path
,
ax_kwargs
=
{
"
ylabel
"
:
"
data is data
"
},
stats
=
True
field
=
"
data
"
,
path
=
outfile
,
ax_kwargs
=
{
"
ylabel
"
:
"
data is data
"
},
stats
=
True
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment