O'Reilly logo

Python Testing Beginner's Guide by Daniel Arbuckle

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action - installing Nose as a Subversion post-commit hook

Because Subversion operates on an centralized, client-server architecture, we'll need both the client and server set up for this example. They can both be on the same computer, but they'll need to be in different directories.

  1. First we need a server. You can create one by making a new directory called svnrepo and executing the following command:
    $ svnadmin create svnrepo/
    
    
  2. Now we need to configure the server to accept commits from us. To do this, we open up the file called conf/passwd and add the following line at the bottom:
    testuser = testpass
    
  3. Then we need to edit conf/svnserve.conf, and change the line reading # password-db = passwd to password-db = passwd.
  4. The Subversion server ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required