daily_med.tests.test_request_paginator module

class daily_med.tests.test_request_paginator.TestRequestPaginator(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]
test_call_gets()[source]

It should call the session with proper args.

test_call_return()[source]

It should return the json decoded response.

test_init_attrs()[source]

It should correctly assign instance attributes.

test_init_session(*args, **keywargs)[source]

It should initialize a requests session.

test_iter()[source]

It should iterate until the end & yield data.