-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[python] signup events on django (#4222)
- Loading branch information
1 parent
0302064
commit 2d91268
Showing
2 changed files
with
34 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1505,7 +1505,15 @@ def setup_signup_local(self): | |
self.r_success = weblog.post("/signup", data=login_data(context, NEW_USER, PASSWORD)) | ||
|
||
@missing_feature(context.library == "nodejs", reason="Signup events not implemented") | ||
@missing_feature(context.library == "python", reason="Signup events not implemented") | ||
@irrelevant( | ||
context.library == "python" and context.weblog_variant not in ["django-poc", "python3.12", "django-py3.13"], | ||
reason="No signup in framework", | ||
) | ||
@missing_feature( | ||
context.library < "[email protected]" | ||
and context.weblog_variant in ["django-poc", "python3.12", "django-py3.13"], | ||
reason="Signup events not implemented yet", | ||
) | ||
def test_signup_local(self): | ||
assert self.r_success.status_code == 200 | ||
for _, trace, span in interfaces.library.get_spans(request=self.r_success): | ||
|
@@ -1818,7 +1826,15 @@ def setup_signup_local(self): | |
self.r_success = weblog.post("/signup", data=login_data(context, NEW_USER, PASSWORD)) | ||
|
||
@missing_feature(context.library == "nodejs", reason="Signup events not implemented") | ||
@missing_feature(context.library == "python", reason="Signup events not implemented") | ||
@irrelevant( | ||
context.library == "python" and context.weblog_variant not in ["django-poc", "python3.12", "django-py3.13"], | ||
reason="No signup in framework", | ||
) | ||
@missing_feature( | ||
context.library < "[email protected]" | ||
and context.weblog_variant in ["django-poc", "python3.12", "django-py3.13"], | ||
reason="Signup events not implemented yet", | ||
) | ||
def test_signup_local(self): | ||
assert self.r_success.status_code == 200 | ||
for _, trace, span in interfaces.library.get_spans(request=self.r_success): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters