Skip to content

Commit f02a55d

Browse files
committed
Add tests
1 parent cde0753 commit f02a55d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

tests/travis.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import codebottle
2+
3+
#Results of a search
4+
search = codebottle.search(keywords="java").results
5+
6+
#Get a snippet
7+
snippet = codebottle.get(id="373dcc67").data
8+
9+
#Browse
10+
browse = codebottle.browse(limit=10).results
11+
12+
print(search)
13+
print(snippet)
14+
print(browse)

0 commit comments

Comments
 (0)