-
- Téléchargements
Fixes API
- Remove unused imports, - Use HyperlinkedModelSerializer, - Hide the internal ID field, - Hide fingerprint, - Cover more endpoints with tests, - Remove as much untested code as possible, - Clarify which URL is for what resource (ie. ProposalDetail didn't list votes but ProposalList did, ending up in horrible performance), - Change tests so that they query indented responses, making diff'ing easier
Affichage de
- representatives_votes/api.py 4 ajouts, 15 suppressionsrepresentatives_votes/api.py
- representatives_votes/serializers.py 14 ajouts, 88 suppressionsrepresentatives_votes/serializers.py
- representatives_votes/tests/response_fixtures/RepresentativeManagerTest.test_dossier/content 37 ajouts, 0 suppression...e_fixtures/RepresentativeManagerTest.test_dossier/content
- representatives_votes/tests/response_fixtures/RepresentativeManagerTest.test_dossier/status_code 1 ajout, 0 suppression...xtures/RepresentativeManagerTest.test_dossier/status_code
- representatives_votes/tests/response_fixtures/RepresentativeManagerTest.test_dossiers/content 16 ajouts, 1 suppression..._fixtures/RepresentativeManagerTest.test_dossiers/content
- representatives_votes/tests/response_fixtures/RepresentativeManagerTest.test_proposal/content 26 ajouts, 0 suppression..._fixtures/RepresentativeManagerTest.test_proposal/content
- representatives_votes/tests/response_fixtures/RepresentativeManagerTest.test_proposal/status_code 1 ajout, 0 suppression...tures/RepresentativeManagerTest.test_proposal/status_code
- representatives_votes/tests/response_fixtures/RepresentativeManagerTest.test_proposals/content 74 ajouts, 1 suppression...fixtures/RepresentativeManagerTest.test_proposals/content
- representatives_votes/tests/response_fixtures/RepresentativeManagerTest.test_vote/content 6 ajouts, 0 suppression...onse_fixtures/RepresentativeManagerTest.test_vote/content
- representatives_votes/tests/response_fixtures/RepresentativeManagerTest.test_vote/status_code 1 ajout, 0 suppression..._fixtures/RepresentativeManagerTest.test_vote/status_code
- representatives_votes/tests/response_fixtures/RepresentativeManagerTest.test_votes/content 68 ajouts, 1 suppression...nse_fixtures/RepresentativeManagerTest.test_votes/content
- representatives_votes/tests/test_views.py 18 ajouts, 4 suppressionsrepresentatives_votes/tests/test_views.py
- representatives_votes/tests/urls.py 11 ajouts, 0 suppressionrepresentatives_votes/tests/urls.py
Chargement en cours
Veuillez vous inscrire ou vous se connecter pour commenter