<filename>Python Crash Course by Eric Matthes/testing_code.py
# Testing a name_function.py

from name_function import get_formatted_name
import unittest

class NameTestCase(unittest.TestCase):
    """Test to check the functioning of name_function.py"""

    def test_first_last_name(self):
        """Do names like <NAME> work ?"""
        formatted_name = get_formatted_name('debopriyo', 'bhowmick')
        self.assertEqual(formatted_name, '<NAME>')

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

<filename>Python Crash Course by Eric Matthes/testing_code.py
# Testing a name_function.py

from name_function import get_formatted_name
import unittest

class NameTestCase(unittest.TestCase):
    """Test to check the functioning of name_function.py"""

    def test_first_last_name(self):
        """Do names like <NAME> work ?"""
        formatted_name = get_formatted_name('debopriyo', 'bhowmick')
        self.assertEqual(formatted_name, '<NAME>')

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

# Testing a name_function.py Test to check the functioning of name_function.py Do names like <NAME> work ?