Skip to content

Commit 1ae7246

Browse files
committed
Merge pull request #2 from attilaolah/cleanup-tests
Cleanup Tests
2 parents 2579a26 + 5f7c090 commit 1ae7246

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

tests/unit_test.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
import os
22
import urlparse
33
import unittest
4-
import simplejson
5-
import logging
64
import requests
7-
from mock import Mock, patch
5+
from mock import patch
86

97
from client import DiffbotClient
108

119

12-
logger = logging.getLogger(__name__)
13-
14-
1510
def fake_get(url, params):
1611
path = urlparse.urlparse(url).path
1712
path_tuple = os.path.split(path)
@@ -82,4 +77,4 @@ def test_analyze_api(self):
8277

8378

8479
if __name__ == '__main__':
85-
unittest.main()
80+
unittest.main()

0 commit comments

Comments
 (0)