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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
CaosDB Crawler
Commits
cc34d82c
Commit
cc34d82c
authored
2 years ago
by
florian
Browse files
Options
Downloads
Patches
Plain Diff
STY: autopep'd
parent
26213ef5
No related branches found
No related tags found
2 merge requests
!53
Release 0.1
,
!32
ENH: add security levels that may prevent updates or inserts
Pipeline
#26560
passed
2 years ago
Stage: info
Stage: setup
Stage: cert
Stage: style
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
unittests/test_converters.py
+2
-6
2 additions, 6 deletions
unittests/test_converters.py
with
2 additions
and
6 deletions
unittests/test_converters.py
+
2
−
6
View file @
cc34d82c
#!/usr/bin/env python3
#!/usr/bin/env python3
# encoding: utf-8
# encoding: utf-8
#
#
# ** header v3.0
# This file is a part of the CaosDB Project.
# This file is a part of the CaosDB Project.
#
#
# Copyright (C) 2021 Indiscale GmbH <info@indiscale.com>
# Copyright (C) 2021
,2022
Indiscale GmbH <info@indiscale.com>
# Copyright (C) 2021 Henrik tom Wörden <h.tomwoerden@indiscale.com>
# Copyright (C) 2021
,2022
Henrik tom Wörden <h.tomwoerden@indiscale.com>
#
#
# This program is free software: you can redistribute it and/or modify
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# it under the terms of the GNU Affero General Public License as
...
@@ -20,8 +19,6 @@
...
@@ -20,8 +19,6 @@
# You should have received a copy of the GNU Affero General Public License
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
#
# ** end header
#
"""
"""
test the converters module
test the converters module
...
@@ -275,4 +272,3 @@ def test_variable_replacement():
...
@@ -275,4 +272,3 @@ def test_variable_replacement():
assert
handle_value
([
"
a
"
,
"
b
"
],
values
)
==
([
"
a
"
,
"
b
"
],
"
single
"
)
assert
handle_value
([
"
a
"
,
"
b
"
],
values
)
==
([
"
a
"
,
"
b
"
],
"
single
"
)
assert
handle_value
([
"
$a
"
,
"
$b
"
],
values
)
==
([
"
4
"
,
"
68
"
],
"
single
"
)
assert
handle_value
([
"
$a
"
,
"
$b
"
],
values
)
==
([
"
4
"
,
"
68
"
],
"
single
"
)
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