I have tried so many ways(Pycharm and unittest does not work
) to solve the problem.
But I am still a bit clueless on what is going on here.
I can't run basic unittests. Thank you in advance.
#test_names.py
import unittest
from Practices.SomeFunction import get_formatted_name
class NameTestCase(unittest.TestCase):
"""test get_fotmatted_name()"""
def test_first_last_name(self):
formatted_name = get_formatted_name('janis', 'joplin')
self.assertEqual(formatted_name, 'Janis Joplin')
unittest.main()