Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SaQC
Manage
Activity
Members
Labels
Plan
Issues
35
Issue boards
Milestones
Wiki
Code
Merge requests
7
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
57ed214e
Commit
57ed214e
authored
2 years ago
by
Bert Palm
🎇
Browse files
Options
Downloads
Patches
Plain Diff
cleanup
parent
e1883429
No related branches found
Branches containing commit
No related tags found
1 merge request
!462
More tests
Pipeline
#93261
failed with stage
in 2 minutes and 5 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/common.py
+1
-10
1 addition, 10 deletions
tests/common.py
tests/core/test_register.py
+0
-2
0 additions, 2 deletions
tests/core/test_register.py
with
1 addition
and
12 deletions
tests/common.py
+
1
−
10
View file @
57ed214e
...
...
@@ -23,17 +23,8 @@ def flagAll(data, field, flags, **kwargs):
return
data
,
flags
def
dataDios
(
columns
,
start_date
=
"
2017-01-01
"
,
freq
=
'
1d
'
,
rows
=
10
):
di
=
dios
.
DictOfSeries
(
itype
=
dios
.
DtItype
)
dates
=
pd
.
date_range
(
start
=
start_date
,
end
=
None
,
freq
=
freq
,
periods
=
rows
)
dummy
=
np
.
arange
(
len
(
dates
))
for
i
,
col
in
enumerate
(
columns
):
di
[
col
]
=
pd
.
Series
(
data
=
dummy
*
(
i
+
1
),
index
=
dates
)
return
di
def
initData
(
cols
=
2
,
start_date
=
"
2017-01-01
"
,
end_date
=
"
2017-12-31
"
,
freq
=
None
,
rows
=
None
cols
=
2
,
start_date
=
"
2017-01-01
"
,
end_date
=
"
2017-12-31
"
,
freq
=
None
,
rows
=
None
):
if
rows
is
None
:
freq
=
freq
or
"
1h
"
...
...
This diff is collapsed.
Click to expand it.
tests/core/test_register.py
+
0
−
2
View file @
57ed214e
#!/usr/bin/env python
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