Adding unit tests for TOSCA parser
Change-Id: Ia2384ab325d02f4cc1bd3c73087a4a0cbfa4d71a
diff --git a/Makefile b/Makefile
index 190d0e1..5be709c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,9 @@
help:
@echo "tests: Run unit tests (if you're running local, you'll need to have virtual-env activated)"
+ @echo "tosca: Generate tosca definition from core.xproto"
@echo "test-call: Send a sample tosca recipe"
- @echo "sample-tosca: Generate tosca definition from core.xproto"
-tests:
+tests: tosca
nosetests -s -v --with-id --with-coverage --cover-html --cover-erase --cover-xml --cover-package="grpc_client, tosca"
build:
@@ -15,5 +15,5 @@
test-call:
curl -H "xos-username: xosadmin@opencord.org" -H "xos-password: rk1UYDHZXbu6KVCMkhmV" -X POST --data-binary @test/tosca/test.yaml 127.0.0.1:9200
-sample-tosca:
+tosca:
xosgenx --target=src/tosca/xtarget/tosca.xtarget --output=src/tosca/custom_types --write-to-file=model --dest-extension=yaml ../xos/xos/core/models/core.xproto
\ No newline at end of file