Add apps folder into the coverage reports 31/102031/2
authorvrvarma <vv8305@att.com>
Thu, 20 Feb 2020 00:53:50 +0000 (19:53 -0500)
committervrvarma <vv8305@att.com>
Thu, 20 Feb 2020 01:08:37 +0000 (20:08 -0500)
Change-Id: I1c222b6a5cc5bbdc6353ce1b06c03e44917849fd
Signed-off-by: vrvarma <vv8305@att.com>
Issue-ID: OPTFRA-698

.coveragerc
osdf/optimizers/__init__.py [deleted file]
osdf/optimizers/licenseopt/__init__.py [deleted file]
osdf/optimizers/pciopt/__init__.py [deleted file]
osdf/optimizers/placementopt/__init__.py [deleted file]
osdf/optimizers/routeopt/__init__.py [deleted file]
tox.ini

index a5afd52..a4ec20c 100644 (file)
@@ -2,7 +2,7 @@
 [run]
 branch = True
 cover_pylib = False
-include = osdf/**/*.py
+include = osdf/**/*.py, apps/**/*.py
 
 [report]
 # Regexes for lines to exclude from consideration
diff --git a/osdf/optimizers/__init__.py b/osdf/optimizers/__init__.py
deleted file mode 100644 (file)
index 4b25e5b..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-# -------------------------------------------------------------------------
-#   Copyright (c) 2017-2018 AT&T Intellectual Property
-#
-#   Licensed under the Apache License, Version 2.0 (the "License");
-#   you may not use this file except in compliance with the License.
-#   You may obtain a copy of the License at
-#
-#       http://www.apache.org/licenses/LICENSE-2.0
-#
-#   Unless required by applicable law or agreed to in writing, software
-#   distributed under the License is distributed on an "AS IS" BASIS,
-#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#   See the License for the specific language governing permissions and
-#   limitations under the License.
-#
-# -------------------------------------------------------------------------
-#
diff --git a/osdf/optimizers/licenseopt/__init__.py b/osdf/optimizers/licenseopt/__init__.py
deleted file mode 100644 (file)
index 4b25e5b..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-# -------------------------------------------------------------------------
-#   Copyright (c) 2017-2018 AT&T Intellectual Property
-#
-#   Licensed under the Apache License, Version 2.0 (the "License");
-#   you may not use this file except in compliance with the License.
-#   You may obtain a copy of the License at
-#
-#       http://www.apache.org/licenses/LICENSE-2.0
-#
-#   Unless required by applicable law or agreed to in writing, software
-#   distributed under the License is distributed on an "AS IS" BASIS,
-#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#   See the License for the specific language governing permissions and
-#   limitations under the License.
-#
-# -------------------------------------------------------------------------
-#
diff --git a/osdf/optimizers/pciopt/__init__.py b/osdf/optimizers/pciopt/__init__.py
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/osdf/optimizers/placementopt/__init__.py b/osdf/optimizers/placementopt/__init__.py
deleted file mode 100644 (file)
index 4b25e5b..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-# -------------------------------------------------------------------------
-#   Copyright (c) 2017-2018 AT&T Intellectual Property
-#
-#   Licensed under the Apache License, Version 2.0 (the "License");
-#   you may not use this file except in compliance with the License.
-#   You may obtain a copy of the License at
-#
-#       http://www.apache.org/licenses/LICENSE-2.0
-#
-#   Unless required by applicable law or agreed to in writing, software
-#   distributed under the License is distributed on an "AS IS" BASIS,
-#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#   See the License for the specific language governing permissions and
-#   limitations under the License.
-#
-# -------------------------------------------------------------------------
-#
diff --git a/osdf/optimizers/routeopt/__init__.py b/osdf/optimizers/routeopt/__init__.py
deleted file mode 100644 (file)
index c235f2a..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-# -------------------------------------------------------------------------
-#   Copyright (c) 2018 Huawei Intellectual Property
-#
-#   Licensed under the Apache License, Version 2.0 (the "License");
-#   you may not use this file except in compliance with the License.
-#   You may obtain a copy of the License at
-#
-#       http://www.apache.org/licenses/LICENSE-2.0
-#
-#   Unless required by applicable law or agreed to in writing, software
-#   distributed under the License is distributed on an "AS IS" BASIS,
-#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#   See the License for the specific language governing permissions and
-#   limitations under the License.
-#
-# -------------------------------------------------------------------------
-#
diff --git a/tox.ini b/tox.ini
index c91b77f..2c30e73 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -19,11 +19,11 @@ deps = -r{toxinidir}/requirements.txt
     -r{toxinidir}/test/test-requirements.txt
 
 [run]
-source=./osdf/,osdfapp.py
+source=./apps/,./osdf/,osdfapp.py
 
 [testenv:pylint]
 whitelist_externals=bash
-commands = bash -c "pylint --reports=y osdf | tee pylint.out"
+commands = bash -c "pylint --reports=y osdf apps| tee pylint.out"
 
 [testenv:py3]
 basepython=python3.6