Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beat.web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
beat
beat.web
Commits
a9185c80
Commit
a9185c80
authored
4 years ago
by
Flavio TARSETTI
Browse files
Options
Downloads
Patches
Plain Diff
[accounts][tests] Adding tests for TemporaryUrl
parent
4ffd465f
No related branches found
No related tags found
1 merge request
!328
Improve automatic emails with temporary urls
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
beat/web/accounts/models.py
+1
-0
1 addition, 0 deletions
beat/web/accounts/models.py
beat/web/accounts/tests.py
+689
-280
689 additions, 280 deletions
beat/web/accounts/tests.py
with
690 additions
and
280 deletions
beat/web/accounts/models.py
+
1
−
0
View file @
a9185c80
...
...
@@ -168,6 +168,7 @@ def generate_url_hash():
)
return
url_hash
class
TemporaryUrlManager
(
models
.
Manager
):
def
create_temporary_url
(
self
,
status
,
supervision_track
):
# Actions that result creating the object
...
...
This diff is collapsed.
Click to expand it.
beat/web/accounts/tests.py
+
689
−
280
View file @
a9185c80
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment