rename MySite to mysite in test infrastructure
Change-Id: I5d4d72af38a472a689879e8fe94bfb8d129f93e2
diff --git a/xos/tests/api/helpers/before_test.py b/xos/tests/api/helpers/before_test.py
index a977564..b81e239 100644
--- a/xos/tests/api/helpers/before_test.py
+++ b/xos/tests/api/helpers/before_test.py
@@ -100,7 +100,7 @@
# print 'vRouter created'
# Site
- site = Site.objects.get(name='MySite')
+ site = Site.objects.get(name='mysite')
# vSG service
vsg_service = VSGService()
@@ -206,7 +206,7 @@
def createSlice():
- site = Site.objects.get(name='MySite')
+ site = Site.objects.get(name='mysite')
user = User.objects.get(email="padmin@vicci.org")
sl = Slice(id=1)
@@ -237,7 +237,7 @@
def createNode(deployment):
- site = Site.objects.get(name='MySite')
+ site = Site.objects.get(name='mysite')
site_deployment = SiteDeployment(id=1)
site_deployment.site = site
diff --git a/xos/tests/api/helpers/subscriber.py b/xos/tests/api/helpers/subscriber.py
index 320c73c..3d56354 100644
--- a/xos/tests/api/helpers/subscriber.py
+++ b/xos/tests/api/helpers/subscriber.py
@@ -100,7 +100,7 @@
print 'vRouter created'
# Site
- site = Site.objects.get(name='MySite')
+ site = Site.objects.get(name='mysite')
# vSG service
vsg_service = VSGService()
diff --git a/xos/tests/api/hooks.py b/xos/tests/api/hooks.py
index e7ba705..449ca16 100644
--- a/xos/tests/api/hooks.py
+++ b/xos/tests/api/hooks.py
@@ -103,7 +103,7 @@
vsg_img = createImage('ubuntu-vcpe4')
# Site
- site = Site.objects.get(name='MySite')
+ site = Site.objects.get(name='mysite')
# vSG service
vsg_service = VSGService()
@@ -200,7 +200,7 @@
def createSlice():
- site = Site.objects.get(name='MySite')
+ site = Site.objects.get(name='mysite')
user = User.objects.get(email="padmin@vicci.org")
sl = Slice(id=1)
@@ -231,7 +231,7 @@
def createNode(deployment):
- site = Site.objects.get(name='MySite')
+ site = Site.objects.get(name='mysite')
site_deployment = SiteDeployment(id=1)
site_deployment.site = site
diff --git a/xos/tests/api/source/core/sites.md b/xos/tests/api/source/core/sites.md
index c3784db..731199e 100644
--- a/xos/tests/api/source/core/sites.md
+++ b/xos/tests/api/source/core/sites.md
@@ -9,7 +9,7 @@
+ Response 200 (application/json)
{
- "humanReadableName": "MySite",
+ "humanReadableName": "mysite",
"id": 1,
"created": "2016-04-29T16:19:03.587770Z",
"updated": "2016-04-29T16:19:05.651933Z",