Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #901 from yverdon/feature/3.2.0
Browse files Browse the repository at this point in the history
Feature/3.2.0
  • Loading branch information
AlexandreJunod authored Dec 5, 2023
2 parents 371256f + 043216a commit c92793d
Show file tree
Hide file tree
Showing 5 changed files with 1,424 additions and 22 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Generated by Django 4.2.4 on 2023-12-05 10:39

import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("auth", "0012_alter_user_first_name_max_length"),
(
"accounts",
"0014_alter_administrativeentity_is_single_form_submissions_and_permitdepartment_shortname",
),
]

operations = [
migrations.AlterField(
model_name="siteprofile",
name="integrator",
field=models.ForeignKey(
default=None,
limit_choices_to={"permit_department__is_integrator_admin": True},
null=True,
on_delete=django.db.models.deletion.SET_NULL,
related_name="site_profiles",
to="auth.group",
verbose_name="Groupe des administrateurs",
),
),
]
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 4.2.4 on 2023-09-15 06:23
# Generated by Django 4.2.4 on 2023-12-05 10:39

import re
import uuid
Expand All @@ -14,6 +14,14 @@ class Migration(migrations.Migration):
]

operations = [
migrations.AddField(
model_name="form",
name="max_submissions_bypass_enabled",
field=models.BooleanField(
default=False,
verbose_name="Autoriser le secrétariat à soumettre des demandes même si le nombre maximal est atteint",
),
),
migrations.AlterField(
model_name="form",
name="quick_access_slug",
Expand Down

This file was deleted.

18 changes: 18 additions & 0 deletions geocity/tests/api/test_agenda_api.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
from django.test import TestCase
from rest_framework.test import APIClient


class AgendaAPITestCase(TestCase):
def setUp(self):
super().setUp()
self.client = APIClient()


# Test avec tous les status, s'affichent qu'avec les bons status
# Test élément dans light et pas élément pas dans light
# Test configuration, si le moindre élément manque, rien ne s'affiche
# Les filtres apparaissent que s'il y a un domaine
# Check order element (features, dates)
# Check filters work correctly (domaines, types, dates, etc..)
# Check if filters work correctly together, when we put multiple times
# Check if too much filters throw an error
Loading

0 comments on commit c92793d

Please sign in to comment.