If there are further prerequisites that the test infrastructure doesn' t set up, then these tests should probably live outside of dulwich/tests as test runners like nose will automatically run then otherwise. Perhaps ./swift_tests in the root directory of the repo?