From 4fa851471190f968289e04ae0f803b5b63744f6b Mon Sep 17 00:00:00 2001 From: Thomas Duval Date: Tue, 12 Dec 2017 16:03:18 +0100 Subject: Add unit tests for Moon Interface Change-Id: I28e6ee55c78f0f1109e0607e1b3d516f3f2e93ef --- moonv4/moon_interface/tests/apitests/README.md | 33 -------------------------- 1 file changed, 33 deletions(-) delete mode 100644 moonv4/moon_interface/tests/apitests/README.md (limited to 'moonv4/moon_interface/tests/apitests/README.md') diff --git a/moonv4/moon_interface/tests/apitests/README.md b/moonv4/moon_interface/tests/apitests/README.md deleted file mode 100644 index ef74a1e3..00000000 --- a/moonv4/moon_interface/tests/apitests/README.md +++ /dev/null @@ -1,33 +0,0 @@ -Test directory -============== - -API tests ---------- -To test all interfaces, you can use : - -```bash -$ cd moonv4/moon_interface/tests/apitests -$ pytest -============================================================================= test session starts ============================================================================== -platform linux -- Python 3.5.2, pytest-3.0.7, py-1.4.33, pluggy-0.4.0 -rootdir: /home/vdsq3226/projets/opnfv/moonv4/moon_interface, inifile: -collected 15 items - -test_models.py ..... -test_pdp.py . -test_policies.py ......... - -``` - -Populate default variables for a particular demonstration ---------------------------------------------------------- - -```bash -$ cd moonv4/moon_interface/tests/apitests -$ python3 populate_default_values.py scenario/rbac.py -v -Loading: scenario/rbac.py -2017-03-31 09:57:17,243 WARNING Creating model RBAC -2017-03-31 09:57:17,507 WARNING Creating policy Multi policy example -2017-03-31 09:57:18,690 WARNING Creating PDP pdp1 - -``` \ No newline at end of file -- cgit 1.2.3-korg