Skip to content

Commit dc58fc8

Browse files
Test Stubs
1 parent d312288 commit dc58fc8

File tree

8 files changed

+36
-1
lines changed

8 files changed

+36
-1
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ python:
88
- '3.5'
99
install:
1010
- python setup.py install
11+
- pip install pyyaml
12+
- pip install flask
1113
before_script:
1214
- mkdir prism
1315
- mkdir prism/bin

sendgrid/helpers/inbound/test/test_config.py

Whitespace-only changes.

sendgrid/helpers/inbound/test/test_parse.py

Whitespace-only changes.

sendgrid/helpers/inbound/test/test_send.py

Whitespace-only changes.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
long_description = open('README.txt').read()
1212

1313
def getRequires():
14-
deps = ['python_http_client>=2.1.1', 'pyyaml>=3']
14+
deps = ['python_http_client>=2.1.1']
1515
if sys.version_info < (2, 7):
1616
deps.append('unittest2')
1717
elif (3, 0) <= sys.version_info < (3, 2):

test/test_config.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
from sendgrid.helpers.inbound.config import Config
2+
try:
3+
import unittest2 as unittest
4+
except ImportError:
5+
import unittest
6+
7+
8+
class UnitTests(unittest.TestCase):
9+
10+
def test_config_stub(self):
11+
self.assertEqual(True, True)

test/test_parse.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
from sendgrid.helpers.inbound.parse import Parse
2+
try:
3+
import unittest2 as unittest
4+
except ImportError:
5+
import unittest
6+
7+
8+
class UnitTests(unittest.TestCase):
9+
10+
def test_parse_stub(self):
11+
self.assertEqual(True, True)

test/test_send.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
from sendgrid.helpers.inbound.send import Send
2+
try:
3+
import unittest2 as unittest
4+
except ImportError:
5+
import unittest
6+
7+
8+
class UnitTests(unittest.TestCase):
9+
10+
def test_send_stub(self):
11+
self.assertEqual(True, True)

0 commit comments

Comments
 (0)