def test__month_12(self): # Arrange yyyy_mm = "2018-12" # Act first, last = cli._month(yyyy_mm) # Assert self.assertEqual(first, "2018-12-01") self.assertEqual(last, "2018-12-31")
def test__month(test_input, expected): # Act first, last = cli._month(test_input) # Assert assert expected == (first, last)
def test__month(test_input: str, expected: str) -> None: # Act first, last = cli._month(test_input) # Assert assert expected == (first, last)