kriti21

Untitled

Jun 25th, 2018
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.19 KB | None | 0 0
  1.    
  2.         run_shell_command('echo "Some text here." > testfile2.txt')
  3.         run_shell_command('git add testfile2.txt')
  4.         run_shell_command('git commit -m "Modify testfile2"')
  5.         test_sha3 = run_shell_command('git rev-parse HEAD')[0].strip('\n')
  6.         self.assertEqual(self.run_uut(),
  7.                          [('Modify testfile2\n\n', test_sha3,
  8.                            ['merge_commit'],
  9. >                          [], ['testfile2.txt'], [])])
  10. E       AssertionError: Lists differ: [('Add testfile2 [ci skip]\n\n', '8de36076b1[91 chars] [])] != [('Modify testfile2\n\n', '8de36076b1c9a03ca[66 chars] [])]
  11. E      
  12. E       First differing element 0:
  13. E       ('Add testfile2 [ci skip]\n\n', '8de36076b1[90 chars], [])
  14. E       ('Modify testfile2\n\n', '8de36076b1c9a03ca[65 chars], [])
  15. E      
  16. E       - [('Add testfile2 [ci skip]\n\n',
  17. E       + [('Modify testfile2\n\n',
  18. E           '8de36076b1c9a03ca2e83b80e9437a4d94ebf9f8',
  19. E       -   ['ci_skip_commit', 'merge_commit'],
  20. E       +   ['merge_commit'],
  21. E       +   [],
  22. E           ['testfile2.txt'],
  23. E       -   [],
  24. E           [])]
  25.  
  26. /home/kriti/coaladevenv3/coala-bears/tests/vcs/VCSCommitBearTest.py:163: AssertionError
Add Comment
Please, Sign In to add comment