Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
biseau
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
8
Issues
8
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
BOURNEUF Lucas
biseau
Commits
1837c248
Commit
1837c248
authored
Feb 22, 2019
by
Lucas Bourneuf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dummy test for module loader
parent
4e85387d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
test/test_module_loader.py
test/test_module_loader.py
+14
-0
No files found.
test/test_module_loader.py
0 → 100644
View file @
1837c248
from
biseau.module_loader
import
build_scripts_from_asp_code
def
test_basic
():
scripts
=
tuple
(
build_scripts_from_asp_code
(
'link(a,b).'
))
assert
len
(
scripts
)
==
1
script
=
next
(
iter
(
scripts
))
assert
script
.
description
==
'inline ASP code'
assert
script
.
name
==
'inline ASP code'
assert
script
.
input_mode
is
str
assert
not
script
.
options
assert
not
script
.
options_values
assert
not
script
.
erase_context
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