File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313# limitations under the License.
1414#
1515import mock
16- from pprint import pprint as pp
1716import pytest
1817import requests
1918
@@ -785,16 +784,15 @@ def test_load(self):
785784 [MockResponse (
786785 {
787786 u"generation" : 0 ,
788- u"selfLink" : "https://localhost:443"
789- "/mgmt/tm/ltm/ virtual" ,
787+ u"selfLink" : "https://localhost:443/mgmt/tm/ltm/ "
788+ " virtual" ,
790789 u"kind" : u"tm:ltm:virtual:virtualstate"
791790 }),
792791 MockResponse (
793792 {
794793 u"generation" : 0 ,
795- u"selfLink" : u'https://localhost'
796- '/mgmt/tm/ltm/virtual/'
797- '~Common~modtest1/stats?ver=11.6.0' ,
794+ u"selfLink" : u'https://localhost/mgmt/tm/ltm/virtual/'
795+ '~Common~modtest1/stats?ver=11.6.0' ,
798796 u"kind" : u"tm:ltm:virtual:virtualstats"
799797 })
800798 ]}
@@ -814,4 +812,4 @@ def test_load(self):
814812 statsobj = statsfactory .load ()
815813 assert statsobj .selfLink == \
816814 u'https://localhost/mgmt/tm/ltm/virtual/' \
817- '~Common~modtest1/stats?ver=11.6.0'
815+ '~Common~modtest1/stats?ver=11.6.0'
You can’t perform that action at this time.
0 commit comments