Commit f0aefef3 authored by Omid Hosseini's avatar Omid Hosseini
Browse files

Fix the unittest issue.

parent 1be0c0f1
Pipeline #1157 passed with stage
in 36 seconds
......@@ -39,7 +39,7 @@ class TestJulday(unittest.TestCase):
@patch('sys.stdout', new_callable=io.StringIO)
def test_cal_to_jul(self, mock_stdout, mock_exit):
"""Test basic functionality of cal_to_jul function"""
output = '\n Calendar Date 04 02 2020\n Julian Date 093 2020\n\n'
self.assertEqual(mock_stdout.getvalue(), output,
"Failed to properly convert date!")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment