Skip to content

Commit

Permalink
♻️ refactor: Fixed docstring formatting as per Lint recommendations
Browse files Browse the repository at this point in the history
  • Loading branch information
DevaOnBreaches committed Dec 9, 2023
1 parent 13a13d0 commit 3005ee9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/main_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import unittest
from main import XON


class BasicTestCase(unittest.TestCase):
"""
BasicTestCase contains unit tests for testing the routes in the XON application.
Expand All @@ -21,7 +22,7 @@ def tearDown(self):

def test_index(self):
"""
Test case for the index route.
Test case for the index route.
It verifies that the response status code is 200 (OK).
"""
response = self.app.get("/", follow_redirects=True)
Expand Down Expand Up @@ -70,5 +71,6 @@ def test_breach_analytics(self):
self.assertIn("ExposedPastes", json_data)
self.assertIn("PasteMetrics", json_data)


if __name__ == "__main__":
unittest.main()

0 comments on commit 3005ee9

Please sign in to comment.