Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (20 sloc) 539 Bytes
from django.conf import settings
from import CommandError
from disqus.api import DisqusClient
__test__ = {'API_TESTS': """
First, we test if the DisqusClient class can be initialized
and parameters that were passed are set correctly.
>>> c = DisqusClient(foo='bar', bar='foo')
>>> c.baz
Traceback (most recent call last):
When a DISQUS API method is called, the call method should be used.
>>> c.get_forum_list
<function call_method at ...>
Jump to Line
Something went wrong with that request. Please try again.