Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
beat
beat.core
Commits
ea512958
Commit
ea512958
authored
Nov 16, 2018
by
Samuel GAIST
Browse files
[test][algorithm_loading] Add v3 loading test
Will test both loop algorithm and algorithm using loop
parent
bb92207e
Changes
1
Show whitespace changes
Inline
Side-by-side
beat/core/test/test_algorithm_loading.py
View file @
ea512958
...
...
@@ -79,6 +79,15 @@ def test_analyzer_v2():
assert
algorithm
.
valid
,
'
\n
* %s'
%
'
\n
* '
.
join
(
algorithm
.
errors
)
def
test_v3
():
algorithm
=
Algorithm
(
prefix
,
'autonomous/loop/1'
)
assert
algorithm
.
valid
,
'
\n
* %s'
%
'
\n
* '
.
join
(
algorithm
.
errors
)
algorithm
=
Algorithm
(
prefix
,
'autonomous/loop_user/1'
)
assert
algorithm
.
valid
,
'
\n
* %s'
%
'
\n
* '
.
join
(
algorithm
.
errors
)
#----------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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