VOL-2642 Add a Makefile, tests, and virtualenv
Convert common python and robot into a CORDRobot python module that can
be installed via standard python tools (pip) and from PyPI
Uses a fork of https://github.com/rasjani/robotframework-importresource,
which has been backported to Python 3.5 (used in Ubuntu 16.04
executors).
Reformatted and moved keywords so resource files are scoped to a
specific topic.
Added tox tests for library consistency
- flake8
- pylint
- robotframework-lint
- Ran robot against installed library to verify it can be loaded and
used
Added basic lint and tests to whole repo
Removed old tests:
- CORD <6.x era: SanityPhyPOD.robot, and onosUtils.py
Change-Id: I61265a9fb04034a086e20be1f7236a8793a218aa
diff --git a/.gitignore b/.gitignore
index b209a27..fe9747d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,8 +1,8 @@
# IDEs artifacts
.idea
-# Virtual envs
-src/test/cord-api/venv-cord-tester/
+# Virtual
+venv_cord
# Byte-compiled / optimized / DLL files
__pycache__/
@@ -28,6 +28,7 @@
*.egg-info/
.installed.cfg
*.egg
+cord-robot/CORDRobot/VERSION
# PyInstaller
# Usually these files are written by a python script from a template
@@ -70,3 +71,9 @@
# Gradle
.gradle
+
+
+# Robot output
+output.xml
+report.html
+log.html