ArgLab / ArgLab/writing_observer

Switching between `test_case_insecure` may cause weird behavior

Open
#127 0 comments 0 reactions 0 assignees View on GitHub
good first issue python
Dominant language
Python
Stars
12
Forks
11
PR merge metrics
No merged PRs in 30d

Description

The `user_id` is missing from the `test_case_user()` method. This is used when `test_case_insecure` is set to `True`. This should not impact production servers. This may be a super easy fix by adding `user_id` to the returned `user_info` object.

Contributor guide

No contributing guide indexed for this repository

Research direction

Search for the test_case_user() method and inspect the user_info object it returns when test_case_insecure is True. Confirm that user_id is absent in this path, add it to the returned object, and verify that the insecure test-case behavior now includes the identifier without affecting production behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.