Commits

Jan Willems committed e7b37eb

Cleaned up test a little and bumped the version to 1.7.3.

  • Participants
  • Parent commits 3d9bc59

Comments (0)

Files changed (3)

File docs/conf.py

 # built documents.
 #
 # The short X.Y version.
-version = '1.7.1'
+version = '1.7.3'
 # The full version, including alpha/beta/rc tags.
-release = '1.7.1'
+release = '1.7.3'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.

File hgapi/testhgapi.py

         self.assertEquals(len(branch_names), 2)
 
         # Test branch name with space
-        self.assertTrue(self.repo.hg_branch('test branch with space').
-                        startswith("marked working directory as branch " +
-                        "test branch with space"))
+        branch = self.repo.hg_branch('test branch with space')
+        message = "marked working directory as branch test branch with space"
+        self.assertTrue(branch.startswith(message))
         self.assertEquals(self.repo.hg_branch(), "test branch with space")
         self.repo.hg_commit("commit test branch with space")
         self.assertEquals(self.repo.hg_branch(), "test branch with space")
 
 setup(
     name = "hgapi",
-    version = "1.7.2a1",
+    version = "1.7.3",
     packages = ['hgapi'],
     test_suite = "hgapi.testhgapi.TestHgAPI",
     author = "Fredrik Håård",