Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CaosDB Crawler
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
CaosDB Crawler
Commits
68de9da9
Commit
68de9da9
authored
1 year ago
by
Alexander Schlemmer
Browse files
Options
Downloads
Patches
Plain Diff
TST: fixed unit tests to cover the changed name of a default transformer
parent
30dbbccc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!160
STY: styling
,
!126
Transformers
Pipeline
#45812
failed
1 year ago
Stage: info
Stage: setup
Stage: cert
Stage: style
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/caoscrawler/default_transformers.yml
+1
-1
1 addition, 1 deletion
src/caoscrawler/default_transformers.yml
unittests/test_directories/test_transformers/cfood.yml
+2
-2
2 additions, 2 deletions
unittests/test_directories/test_transformers/cfood.yml
with
3 additions
and
3 deletions
src/caoscrawler/default_transformers.yml
+
1
−
1
View file @
68de9da9
ifelse
:
submatch
:
package
:
caoscrawler.transformer_functions
function
:
ifelse
split
:
...
...
This diff is collapsed.
Click to expand it.
unittests/test_directories/test_transformers/cfood.yml
+
2
−
2
View file @
68de9da9
...
...
@@ -18,10 +18,10 @@ RootDir:
in
:
$day_short
out
:
$day_long
functions
:
-
ifelse
:
# name of the function
-
submatch
:
# name of the function
match
:
Mon
# match is one specific argument
then
:
Monday
# then another one
-
ifelse
:
# next function
-
submatch
:
# next function
match
:
Tue
then
:
Tuesday
TestSplit
:
...
...
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