Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9312079
test_migrations.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
509 B
Subscribers
None
test_migrations.py
View Options
# Copyright (C) 2022 The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU General Public License version 3, or any later version
# See top-level LICENSE file for more information
APP_NAME
=
"swh_web_mailmap"
MIGRATION_0001
=
"0001_initial"
def
test_mailmap_django_app
(
migrator
):
state
=
migrator
.
apply_tested_migration
((
APP_NAME
,
MIGRATION_0001
))
UserMailmap
=
state
.
apps
.
get_model
(
APP_NAME
,
"UserMailmap"
)
assert
UserMailmap
File Metadata
Details
Attached
Mime Type
text/x-python
Expires
Thu, Jul 3, 10:42 AM (2 w, 5 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3238600
Attached To
rDWAPPS Web applications
Event Timeline
Log In to Comment