~dpb/tarmac/commit-message-newline

« back to all changes in this revision

Viewing changes to tarmac/tests/test_commands.py

  • Committer: Tarmac
  • Author(s): Rodney Dawes
  • Date: 2013-10-31 22:00:00 UTC
  • mfrom: (412.2.5 home-loader)
  • Revision ID: tarmac-20131031220000-ud7iqws2g5xe4acs
Fix plug-in loading to use execfile() rather than relying on imports.
Remove the mock.py that conflicts namespace with python-mock.
Add tests for the load_plugins code.
Add a plug-in for testing the load_plugins code with.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
from tarmac.config import TarmacConfig
11
11
from tarmac.exceptions import UnapprovedChanges
12
12
from tarmac.tests import TarmacTestCase, BranchTestCase
13
 
from tarmac.tests.mock import MockLPBranch, Thing
 
13
from tarmac.tests import MockLPBranch, Thing
14
14
 
15
15
 
16
16
class FakeCommand(commands.TarmacCommand):