Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create school #70

Merged
merged 7 commits into from
Feb 5, 2024
Merged

Create school #70

merged 7 commits into from
Feb 5, 2024

Conversation

SKairinos
Copy link
Contributor

@SKairinos SKairinos commented Feb 5, 2024

This change is Reviewable

Copy link
Contributor

@faucomte97 faucomte97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 6 of 6 files at r1, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @SKairinos)


codeforlife/tests/model_view_set.py line 645 at r1 (raw file):

    def login_non_school_teacher(
        self,
        is_admin: t.Optional[bool] = None,

Having is_admin here doesn't really make sense if the teacher doesn't have a school. We can probably just remove it


codeforlife/tests/model_view_set.py line 652 at r1 (raw file):

        Args:
            is_admin: Whether or not the teacher is an admin. Set to None if the teacher can be either or.

And therefore remove this

Copy link
Contributor Author

@SKairinos SKairinos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @faucomte97)


codeforlife/tests/model_view_set.py line 645 at r1 (raw file):

Previously, faucomte97 (Florian Aucomte) wrote…

Having is_admin here doesn't really make sense if the teacher doesn't have a school. We can probably just remove it

Done.


codeforlife/tests/model_view_set.py line 652 at r1 (raw file):

Previously, faucomte97 (Florian Aucomte) wrote…

And therefore remove this

Done.

Copy link
Contributor

@faucomte97 faucomte97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @SKairinos)

@SKairinos SKairinos merged commit 7078f04 into main Feb 5, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants