testing: add vcttesting to virtualenv
The support modules in the vcttesting package are becoming increasingly
popular. This directory currently must be manually added to sys.path.
This is annoying.
This patch adds packaging to vcttesting so it is available in our
virtualenv.
Scripts manually adding the testing directory to sys.path have been
updated to no longer do this.
#!/usr/bin/env python
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# This is a script for performing common Bugzilla operations from the command
# line. It is meant to support testing.
import os
import sys
def main(args):
from mach.main import Mach
m = Mach(os.getcwd())
m.define_category('bugzilla', 'Bugzilla',
'Interface with Bugzilla', 50)
import vcttesting.bugzilla.mach_commands
return m.run(args)
if __name__ == '__main__':
sys.exit(main(sys.argv[1:]))