Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions tests/test_introduction.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@
class TestIntroductory:
@pytest.fixture
def user_list(self):
return [
"Zain-Mahmoud",
"kurbydoo",
]
return ["Zain-Mahmoud", "kurbydoo", "mouftz"]

def test_kurbydoo(self, user_list):
assert 1 + 1 == 2, "Somthing went really wrong"
Expand All @@ -30,7 +27,7 @@ def test_kurbydoo(self, user_list):

assert counter == n * (n - 1) // 2, "Check arithmetic sum"

assert len(user_list) == 2
assert len(user_list) == 3

### Add your tests below, follow the format above

Expand All @@ -41,3 +38,6 @@ def test_Zain_Mahmoud(self, user_list):

num_list = range(15)
assert all((2 * x) % 2 == 0 for x in num_list), "Check even"

def test_mouftz(self, user_list):
assert "racecar" == "racecar"[::-1], "Check palindrome"