Skip to content

Commit

Permalink
Rename testclass for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
th3w1zard1 committed Nov 7, 2023
1 parent 535365f commit 3857ab0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/tslpatcher/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from pykotor.tslpatcher.config import ModInstaller


class TestConfig(unittest.TestCase):
class TestLookupResourceFunction(unittest.TestCase):
def setUp(self):
self.patch = Mock()
setattr(self.patch, "sourcefile", "test_filename")
Expand Down Expand Up @@ -93,9 +93,7 @@ def test_lookup_resource_capsule_exists_true_no_file(self):
mock_resource.side_effect = FileNotFoundError

# Act & Assert
self.assertIsNone(
self.config.lookup_resource(self.patch, self.output_container_path, exists_at_output_location=True, capsule=capsule)
)
self.assertIsNone(self.config.lookup_resource(self.patch, self.output_container_path, exists_at_output_location=True, capsule=capsule))

def test_lookup_resource_no_capsule_exists_true_no_file(self):
# Arrange
Expand Down

0 comments on commit 3857ab0

Please sign in to comment.