Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- run_shell_command('echo "Some text here." > testfile2.txt')
- run_shell_command('git add testfile2.txt')
- run_shell_command('git commit -m "Modify testfile2"')
- test_sha3 = run_shell_command('git rev-parse HEAD')[0].strip('\n')
- self.assertEqual(self.run_uut(),
- [('Modify testfile2\n\n', test_sha3,
- ['merge_commit'],
- > [], ['testfile2.txt'], [])])
- E AssertionError: Lists differ: [('Add testfile2 [ci skip]\n\n', '8de36076b1[91 chars] [])] != [('Modify testfile2\n\n', '8de36076b1c9a03ca[66 chars] [])]
- E
- E First differing element 0:
- E ('Add testfile2 [ci skip]\n\n', '8de36076b1[90 chars], [])
- E ('Modify testfile2\n\n', '8de36076b1c9a03ca[65 chars], [])
- E
- E - [('Add testfile2 [ci skip]\n\n',
- E + [('Modify testfile2\n\n',
- E '8de36076b1c9a03ca2e83b80e9437a4d94ebf9f8',
- E - ['ci_skip_commit', 'merge_commit'],
- E + ['merge_commit'],
- E + [],
- E ['testfile2.txt'],
- E - [],
- E [])]
- /home/kriti/coaladevenv3/coala-bears/tests/vcs/VCSCommitBearTest.py:163: AssertionError
Add Comment
Please, Sign In to add comment