import unittest
from tvmazereader import main

class TestMethods(unittest.TestCase):
    
    def test_readerMain(self):
        data = main()
        self.assertEqual(len(data),2)

if __name__ == '__main__':
    unittest.main()
import unittest
from tvmazereader import main

class TestMethods(unittest.TestCase):
    
    def test_readerMain(self):
        data = main()
        self.assertEqual(len(data),2)

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

    #python -m unittest discover -v
Add comment show test usage from console.
Add comment show test usage from console.
