# Path: amivapi/tests/utils.py
# class WebTestNoAuth(WebTest):
#     """WebTest without authentification."""
# 
#     def setUp(self, **extra_config):
#         """Use auth hook to always authenticate as root for every request."""
#         super().setUp(**extra_config)
# 
#         def authenticate_root(resource):
#             g.resource_admin = True
# 
#         self.app.after_auth += authenticate_root


from datetime import timedelta
from freezegun import freeze_time
from amivapi.tests.utils import WebTestNoAuth
import re
# -*- coding: utf-8 -*-
#
# license: AGPLv3, see LICENSE for details. In addition we strongly encourage
#          you to buy us beer if we meet and you like the software.
"""Test that additional fields are projected for events. These are:
- events.signup_count
- eventsignups.email
- eventsignups.confirmed
- eventsignups.position
"""





# Path: amivapi/tests/utils.py
# class WebTestNoAuth(WebTest):
#     """WebTest without authentification."""
# 
#     def setUp(self, **extra_config):
#         """Use auth hook to always authenticate as root for every request."""
#         super().setUp(**extra_config)
# 
#         def authenticate_root(resource):
#             g.resource_admin = True
# 
#         self.app.after_auth += authenticate_root


# Path: amivapi/tests/events/test_projections.py
from datetime import timedelta
from freezegun import freeze_time
from amivapi.tests.utils import WebTestNoAuth
import re

# -*- coding: utf-8 -*-
#
# license: AGPLv3, see LICENSE for details. In addition we strongly encourage
#          you to buy us beer if we meet and you like the software.
"""Test that additional fields are projected for events. These are:
- events.signup_count
- eventsignups.email
- eventsignups.confirmed
- eventsignups.position
"""





class EventProjectionTest(WebTestNoAuth):