Skip to content

Commit

Permalink
Changed Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
davidteather committed Oct 5, 2019
1 parent dd7f33a commit 9828ba2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Binary file modified TikTokApi/__pycache__/tiktok.cpython-37.pyc
Binary file not shown.
Binary file modified tests/__pycache__/test_trending.cpython-37-pytest-5.1.2.pyc
Binary file not shown.
Binary file modified tests/__pycache__/test_user.cpython-37-pytest-5.1.2.pyc
Binary file not shown.
10 changes: 5 additions & 5 deletions tests/test_trending.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

def test_trending():
api = TikTokapi("browsermob-proxy/bin/browsermob-proxy", headless=True)
assert len(api.trending(5)) == 5
assert len(api.trending(10)) == 10
assert len(api.trending(20)) == 20
assert len(api.trending(5)) >= 5
assert len(api.trending(10)) >= 10
assert len(api.trending(20)) >= 20


def test_extended_trending():
api = TikTokapi("browsermob-proxy/bin/browsermob-proxy", headless=True)
assert len(api.trending(50)) == 50
assert len(api.trending(100)) == 100
assert len(api.trending(50)) >= 50
assert len(api.trending(100)) >= 100

0 comments on commit 9828ba2

Please sign in to comment.