[ussuri][goal] Drop python2.7 support

As per the official python support timeline
set forth by the OpenStack TC [1][2], OpenStack
Train is the last release that will support
python2.7. manila-tempest-plugin is a 'branchless'
tempest plugin. However, after this change,
users may no longer expect to install this package
with python2.7.

Depends-On: https://review.opendev.org/#/c/688997/
[1] https://governance.openstack.org/tc/resolutions/20180529-python2-deprecation-timeline.html
[2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: I8c10d169302c6f1c41e238ae9f787455a2b15a4d
diff --git a/manila_tempest_tests/tests/api/admin/test_migration.py b/manila_tempest_tests/tests/api/admin/test_migration.py
index e4c8f5e..6ceae58 100644
--- a/manila_tempest_tests/tests/api/admin/test_migration.py
+++ b/manila_tempest_tests/tests/api/admin/test_migration.py
@@ -640,7 +640,7 @@
 
 # NOTE(u_glide): this function is required to exclude MigrationBase from
 # executed test cases.
-# See: https://docs.python.org/2/library/unittest.html#load-tests-protocol
+# See: https://docs.python.org/3/library/unittest.html#load-tests-protocol
 # for details.
 def load_tests(loader, tests, _):
     result = []
diff --git a/manila_tempest_tests/tests/scenario/test_share_basic_ops.py b/manila_tempest_tests/tests/scenario/test_share_basic_ops.py
index 7b6c339..b9b17da 100644
--- a/manila_tempest_tests/tests/scenario/test_share_basic_ops.py
+++ b/manila_tempest_tests/tests/scenario/test_share_basic_ops.py
@@ -470,7 +470,7 @@
 
 # NOTE(u_glide): this function is required to exclude ShareBasicOpsBase from
 # executed test cases.
-# See: https://docs.python.org/2/library/unittest.html#load-tests-protocol
+# See: https://docs.python.org/3/library/unittest.html#load-tests-protocol
 # for details.
 def load_tests(loader, tests, _):
     result = []
diff --git a/manila_tempest_tests/tests/scenario/test_share_extend.py b/manila_tempest_tests/tests/scenario/test_share_extend.py
index b845ff8..446ec25 100644
--- a/manila_tempest_tests/tests/scenario/test_share_extend.py
+++ b/manila_tempest_tests/tests/scenario/test_share_extend.py
@@ -166,7 +166,7 @@
 
 # NOTE(u_glide): this function is required to exclude ShareExtendBase
 # from executed test cases.
-# See: https://docs.python.org/2/library/unittest.html#load-tests-protocol
+# See: https://docs.python.org/3/library/unittest.html#load-tests-protocol
 # for details.
 def load_tests(loader, tests, _):
     result = []
diff --git a/manila_tempest_tests/tests/scenario/test_share_manage_unmanage.py b/manila_tempest_tests/tests/scenario/test_share_manage_unmanage.py
index 81cb499..6802262 100644
--- a/manila_tempest_tests/tests/scenario/test_share_manage_unmanage.py
+++ b/manila_tempest_tests/tests/scenario/test_share_manage_unmanage.py
@@ -183,7 +183,7 @@
 
 # NOTE(u_glide): this function is required to exclude ShareManageUnmanageBase
 # from executed test cases.
-# See: https://docs.python.org/2/library/unittest.html#load-tests-protocol
+# See: https://docs.python.org/3/library/unittest.html#load-tests-protocol
 # for details.
 def load_tests(loader, tests, _):
     result = []
diff --git a/manila_tempest_tests/tests/scenario/test_share_shrink.py b/manila_tempest_tests/tests/scenario/test_share_shrink.py
index 8bbb921..44882c8 100644
--- a/manila_tempest_tests/tests/scenario/test_share_shrink.py
+++ b/manila_tempest_tests/tests/scenario/test_share_shrink.py
@@ -166,7 +166,7 @@
 
 # NOTE(u_glide): this function is required to exclude ShareShrinkBase from
 # executed test cases.
-# See: https://docs.python.org/2/library/unittest.html#load-tests-protocol
+# See: https://docs.python.org/3/library/unittest.html#load-tests-protocol
 # for details.
 def load_tests(loader, tests, _):
     result = []
diff --git a/setup.cfg b/setup.cfg
index 8e4d603..1bbfef0 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -13,8 +13,6 @@
     License :: OSI Approved :: Apache Software License
     Operating System :: POSIX :: Linux
     Programming Language :: Python
-    Programming Language :: Python :: 2
-    Programming Language :: Python :: 2.7
     Programming Language :: Python :: 3
     Programming Language :: Python :: 3.3
     Programming Language :: Python :: 3.5
diff --git a/tox.ini b/tox.ini
index 00b23d0..0218477 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,9 +1,10 @@
 [tox]
 minversion = 2.0
-envlist = py35,py27,pypy,pep8
+envlist = py3,pypy,pep8
 skipsdist = True
 
 [testenv]
+basepython = python3
 usedevelop = True
 install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
 setenv =
@@ -17,19 +18,15 @@
 # commands = python setup.py test --slowest --testr-args='{posargs}'
 
 [testenv:pep8]
-basepython = python3
 commands = flake8 {posargs}
 
 [testenv:venv]
-basepython = python3
 commands = {posargs}
 
 [testenv:docs]
-basepython = python3
 commands = python setup.py build_sphinx
 
 [testenv:releasenotes]
-basepython = python3
 commands =
   sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html