diff --git a/tests/test_sni.py b/tests/test_sni.py
index b5daefdb1be411217a017f881798f44c89836aac..e0632b75994721208fa911b9d03ba7aefec9a549 100644
--- a/tests/test_sni.py
+++ b/tests/test_sni.py
@@ -4,8 +4,15 @@ from testinfra.utils.ansible_runner import AnsibleRunner
 testinfra_hosts = AnsibleRunner('.molecule/ansible_inventory').get_hosts('all')
 
 
-@pytest.mark.parametrize('error', ['InsecureRequestWarning',
-                                   'InsecurePlatformWarning',
-                                   'SNIMissingWarning'])
+@pytest.mark.parametrize('error', [
+    'InsecureRequestWarning', 'InsecurePlatformWarning', 'SNIMissingWarning'
+])
 def test_sni(Command, error):
-    assert error not in Command('pip install nonexistant-package').stderr
+    assert error not in Command('pip2 install nonexistant-package').stderr
+
+
+def test_tls12(Command):
+    pycommand = '''import requests;
+print(requests.get('https://www.howsmyssl.com/a/check',
+verify=False).json()['tls_version'])'''
+    assert 'TLS 1.2' == Command('python2 -c \"%s\"' % pycommand).stdout.strip()