Creating Pull Requests¶
Found a bug and know how to fix it? Have some design wireframes to improve some usability issues? Traslated Hypha into another language? Built a new feature you want to add? Please submit an issue or create a pull request on GitHub.
Guidance for contributing code:
Test Class Helpers¶
BaseViewTestCase provides a useful framework for testing views. It handles the setup of requests and simplifies common url operations for views in the same installed app.
Due to the way the urls are configured, tests for the Apply site will fail as the Apply site does not use the default URL config.
This can be resolved on a per testcase basis using the following:
from django.test import TestCase, override_settings @override_settings(ROOT_URLCONF='hypha.apply.urls') class MyTestCase(TestCase): pass
This is implemented by default for the BaseViewTestCase
Last update: 2023-03-20