beat.web.common.testutils module

beat.web.common.testutils.tearDownModule()[source]
class beat.web.common.testutils.BaseTestCase(methodName='runTest')[source]

Bases: django.test.testcases.TestCase

class Meta[source]

Bases: object

model = None
checkObjectDBSharingPreferences(contribution, reference)[source]
checkDBSharingPreferences(username, object_name, reference)[source]
checkResponse(response, status_code, location=None, content_type=None)[source]
beat.web.common.testutils.get_algorithms_from_data(data, author_name)[source]

Retrieves the algorithms from author_name in data