Remove dependency of newton from ocata 47/34647/1
authorYun Huang <yun.huang@windriver.com>
Thu, 8 Mar 2018 03:03:50 +0000 (11:03 +0800)
committerYun Huang <yun.huang@windriver.com>
Thu, 8 Mar 2018 03:03:50 +0000 (11:03 +0800)
Change-Id: Id51eca6e96fe0b8349c1dbbf76da3cfa2a7f9f05
Issue-ID: MULTICLOUD-138
Signed-off-by: Yun Huang <yun.huang@windriver.com>
ocata/assembly.xml
ocata/ocata/registration/tests/test_registration.py
ocata/run.sh
ocata/tox.ini

index ea3c73a..e934f9f 100644 (file)
             </includes>
         </fileSet>
     </fileSets>
-    <dependencySets>
-    <dependencySet>
-        <unpack>true</unpack>
-      <outputDirectory>/lib</outputDirectory>
-      <includes>
-        <include>org.onap.multicloud.openstack:multicloud-openstack-newton</include>
-      </includes>
-    </dependencySet>
-  </dependencySets>
     <baseDirectory>ocata</baseDirectory>
 </assembly>
index 9e4a8e0..5193d60 100644 (file)
@@ -17,8 +17,8 @@ import mock
 from rest_framework import status
 
 from common.utils import restcall
-from newton.requests.tests import mock_info
-from newton.requests.tests import test_base
+from newton_base.tests import mock_info
+from newton_base.tests import test_base
 from newton_base.util import VimDriverUtils
 
 MOCK_GET_TENANT_RESPONSE = {
index 566dc5f..a4edae4 100644 (file)
@@ -14,7 +14,7 @@
 # limitations under the License.
 
 memcached -d -m 2048 -u root -c 1024 -p 11211 -P /tmp/memcached1.pid
-export PYTHONPATH=lib/newton:lib/share
+export PYTHONPATH=lib/share
 nohup python manage.py runserver 0.0.0.0:9006 2>&1 &
 
 while [ ! -f logs/runtime_ocata.log ]; do
index 0df0c4a..671a4f1 100644 (file)
@@ -7,7 +7,7 @@ downloadcache = ~/cache/pip
 
 [testenv]
 setenv =
-    PYTHONPATH = {toxinidir}/../newton:{toxinidir}/../share
+    PYTHONPATH = {toxinidir}/../share
 deps = -r{toxinidir}/requirements.txt
 commands = 
     coverage run --branch manage.py test