Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
TFS
controller
Merge requests
!65
Minor cosmetic change in Hackfest/Mock OSM tool
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Minor cosmetic change in Hackfest/Mock OSM tool
release/2.0.1
into
develop
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Lluis Gifre Renom
requested to merge
release/2.0.1
into
develop
2 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
Minor cosmetic change in Hackfest/Mock OSM tool
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
9ba0946a
1 commit,
2 years ago
1 file
+
0
−
2
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
hackfest/mock_osm/__main__.py
+
0
−
2
Options
@@ -58,13 +58,11 @@ SERVICE_CONNECTION_POINTS = [
@@ -58,13 +58,11 @@ SERVICE_CONNECTION_POINTS = [
class
MockOSMShell
(
cmd
.
Cmd
):
class
MockOSMShell
(
cmd
.
Cmd
):
intro
=
'
Welcome to the MockOSM shell.
\n
Type help or ? to list commands.
\n
'
intro
=
'
Welcome to the MockOSM shell.
\n
Type help or ? to list commands.
\n
'
prompt
=
'
(mock-osm)
'
prompt
=
'
(mock-osm)
'
file
=
None
def
__init__
(
self
,
*
args
,
**
kwargs
)
->
None
:
def
__init__
(
self
,
*
args
,
**
kwargs
)
->
None
:
super
().
__init__
(
*
args
,
**
kwargs
)
super
().
__init__
(
*
args
,
**
kwargs
)
self
.
mock_osm
=
MockOSM
(
WIM_URL
,
WIM_PORT_MAPPING
,
WIM_USERNAME
,
WIM_PASSWORD
)
self
.
mock_osm
=
MockOSM
(
WIM_URL
,
WIM_PORT_MAPPING
,
WIM_USERNAME
,
WIM_PASSWORD
)
# ----- basic turtle commands -----
def
do_create
(
self
,
arg
):
def
do_create
(
self
,
arg
):
'
Create an ELINE (L2) service
'
'
Create an ELINE (L2) service
'
service_uuid
=
self
.
mock_osm
.
create_connectivity_service
(
service_uuid
=
self
.
mock_osm
.
create_connectivity_service
(
Loading