diff --git a/rhodecode/tests/vcs/test_nodes.py b/rhodecode/tests/vcs/test_nodes.py --- a/rhodecode/tests/vcs/test_nodes.py +++ b/rhodecode/tests/vcs/test_nodes.py @@ -140,13 +140,13 @@ class NodeBasicTest(unittest.TestCase): def test_file_node_is_executable(self): node = FileNode('foobar', 'empty... almost', mode=0100755) - self.assertTrue(node.is_executable()) + self.assertTrue(node.is_executable) node = FileNode('foobar', 'empty... almost', mode=0100500) - self.assertTrue(node.is_executable()) + self.assertTrue(node.is_executable) node = FileNode('foobar', 'empty... almost', mode=0100644) - self.assertFalse(node.is_executable()) + self.assertFalse(node.is_executable) def test_mimetype(self): py_node = FileNode('test.py') diff --git a/rhodecode/tests/vcs/test_repository.py b/rhodecode/tests/vcs/test_repository.py --- a/rhodecode/tests/vcs/test_repository.py +++ b/rhodecode/tests/vcs/test_repository.py @@ -148,14 +148,14 @@ class HgRepositoryGetDiffTest(Repository def test_initial_commit_diff(self): initial_rev = self.repo.revisions[0] self.assertEqual(self.repo.get_diff(self.repo.EMPTY_CHANGESET, initial_rev), '''diff --git a/foobar b/foobar -new file mode 100755 +new file mode 100644 --- /dev/null +++ b/foobar @@ -0,0 +1,1 @@ +foobar \ No newline at end of file diff --git a/foobar2 b/foobar2 -new file mode 100755 +new file mode 100644 --- /dev/null +++ b/foobar2 @@ -0,0 +1,1 @@ @@ -174,7 +174,7 @@ new file mode 100755 +FOOBAR \ No newline at end of file diff --git a/foobar3 b/foobar3 -new file mode 100755 +new file mode 100644 --- /dev/null +++ b/foobar3 @@ -0,0 +1,1 @@ @@ -185,7 +185,7 @@ new file mode 100755 def test_third_changeset_diff(self): revs = self.repo.revisions self.assertEqual(self.repo.get_diff(revs[1], revs[2]), '''diff --git a/foobar b/foobar -deleted file mode 100755 +deleted file mode 100644 --- a/foobar +++ /dev/null @@ -1,1 +0,0 @@