Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
beat
beat.cmdline
Commits
67530307
Commit
67530307
authored
Mar 16, 2020
by
Samuel GAIST
Browse files
[test][core] Implement user selection for commands
parent
9c296a6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
beat/cmdline/test/core.py
View file @
67530307
...
...
@@ -147,6 +147,7 @@ class BaseTest:
use_platform
=
kwargs
.
get
(
"platform"
,
platform
)
use_cache
=
kwargs
.
get
(
"cache"
,
"cache"
)
asset_type
=
kwargs
.
get
(
"asset_type"
,
cls
.
asset_type
)
remote_user
=
kwargs
.
get
(
"user"
,
user
)
cmd_group
=
cls
.
get_cmd_group
(
asset_type
)
...
...
@@ -157,7 +158,7 @@ class BaseTest:
"--token"
,
token
,
"--user"
,
user
,
remote_
user
,
"--cache"
,
use_cache
,
"--platform"
,
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment