Skip to content

Commit

Permalink
Updated tests to use future libs and removed py3.2 from the testing c…
Browse files Browse the repository at this point in the history
…ycle.
  • Loading branch information
passivetotal committed Feb 2, 2016
1 parent aefb35c commit 6e31460
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Expand Up @@ -2,7 +2,6 @@ language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -8,7 +8,7 @@ def read(fname):

setup(
name='passivetotal',
version='1.0.7',
version='1.0.9',
description='Client for the PassiveTotal REST API',
url="https://github.com/passivetotal/python_api",
author="Research Team, passivetotal",
Expand Down
3 changes: 2 additions & 1 deletion tests/test_ssl.py
@@ -1,6 +1,7 @@
import pytest
from mock import patch
import unittest
from future.utils import iteritems

from conf import fake_request
from passivetotal.libs.ssl import SslRequest
Expand Down Expand Up @@ -46,7 +47,7 @@ def test_property_load(self):
response = self.client.get_ssl_certificate_details(**payload)
wrapped = SslResponse(response)

for key, value in response.iteritems():
for key, value in iteritems(response):
assert (getattr(wrapped, key)) == value

def test_ssl_certificate_search(self):
Expand Down
3 changes: 2 additions & 1 deletion tests/test_whois.py
@@ -1,6 +1,7 @@
import pytest
from mock import patch
import unittest
from future.utils import iteritems

from conf import fake_request
from passivetotal.libs.whois import WhoisRequest
Expand Down Expand Up @@ -45,7 +46,7 @@ def test_property_load(self):
response = self.client.get_whois_details(**payload)
wrapped = WhoisResponse(response)

for key, value in response.iteritems():
for key, value in iteritems(response):
assert (getattr(wrapped, key)) == value

def test_whois_search(self):
Expand Down

0 comments on commit 6e31460

Please sign in to comment.