Skip to content
Snippets Groups Projects
Verified Commit 1951974f authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

test_models: Remove unneeded copy instruction

parent d6204f0f
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,6 @@
# License: GNU General Public License version 3, or any later version
# See top-level LICENSE file for more information
from copy import copy
from typing import Set
import pytest
......@@ -16,15 +15,13 @@ NO_PERMISSION: Set[str] = set()
@pytest.fixture
def appuser():
return copy(
AppUser(
id=666,
username="foo",
password="bar",
first_name="foobar",
last_name="",
email="foo@bar.org",
)
return AppUser(
id=666,
username="foo",
password="bar",
first_name="foobar",
last_name="",
email="foo@bar.org",
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment