def METHOD_NAME(self, dt_mock, stdout_mock):
    dt_mock.utcnow.return_value = datetime(2010, 10, 8)
    driver = create_clidriver()
    rc = driver.main('codecommit credential-helper get'.split())
    output = stdout_mock.getvalue().strip()
    self.assertEqual(
        ('username=foo\n'
         'password=20101008T000000Z'
         '9ed987cc6336c3de2d9f06b9236c7a9fd76b660b080db15983290e636dbfbd6b'),
         output)
    self.assertEqual(0, rc)