Skip to content

Commit

Permalink
Try to fix pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenceKuhl committed Aug 27, 2024
1 parent 7b42944 commit 1ca27a5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Empty file.
8 changes: 6 additions & 2 deletions Mercedes_Universe/Tests/test_creature_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@
Description: assertions to check for the Creature class
"""
import datetime

import os
import pytest
from mercedes_universe import Creature


project_root = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
letter_path = os.path.join(project_root, 'Letters', 'letter.txt')


@pytest.fixture
def mercy_fixture():
"""Create the character Mercy for testing purposes"""
Expand All @@ -24,4 +28,4 @@ def test_correctness_of_attributes_(mercy_fixture):

def test_read_letter_(mercy_fixture):
"""Checks the creature function"""
assert mercy_fixture.reads_letter("Letters/letter.txt") == None
assert mercy_fixture.reads_letter(letter_path) == None

0 comments on commit 1ca27a5

Please sign in to comment.