Commit b388446b authored by Maeva Pourpoint's avatar Maeva Pourpoint
Browse files

Merge branch 'update_meta_yaml' into 'master'

Update meta.yaml

See merge request passoft/julday!3
parents 2b563b42 f0aefef3
Pipeline #1175 passed with stage
in 37 seconds
package:
name: julday
version: 2020.188
version: 2021.158
source:
path: ../
......@@ -24,7 +24,8 @@ test:
- python -m unittest
about:
home: https://git.passcal.nmt.edu/passoft/julday
home: https://www.passcal.nmt.edu/content/software-resources
url_dev: https://git.passcal.nmt.edu/passoft/julday
license: GPLv3
license_file: LICENSE
summary: Displays julian date
......@@ -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"""
cal_to_jul(VALID_DATE[0:2])
cal_to_jul(VALID_DATE)
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