Skip to content

Commit f8f7865

Browse files
author
Claudio
committed
base test setup
1 parent bcd7f00 commit f8f7865

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
.svn
1+
.svn
2+
*.pyc

test/__init__.py

Whitespace-only changes.

test/test_shortening_urls.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/usr/bin/env python
2+
#-*- coding:utf-8 -*-
3+
4+
import bitly
5+
6+
def test_urls_shortening_scenario():
7+
8+
api = bitly.Api(login='jcfigueiredo', apikey='R_1cf5dc0fa14c2df34261fb620bd256aa')
9+
10+
i_have_an_API_validated_by_my_credentials(api)
11+
12+
def i_have_an_API_validated_by_my_credentials(api):
13+
assert api, 'Should have a valid API'

0 commit comments

Comments
 (0)