~bjornt/charms/wily/landscape-client/trunk

« back to all changes in this revision

Viewing changes to hooks/test_hooks.py

  • Committer: Christopher Glass
  • Date: 2014-08-28 10:10:51 UTC
  • mfrom: (43.1.2 fix-unit-tests-take-two)
  • Revision ID: christopher.glass@canonical.com-20140828101051-lakskww2hphu1h0p
Merge lp:~tribaal/charms/trusty/landscape-client/fix-unit-tests-take-two [r=free, sparkiegeek]

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
    def clear_registration(self):
48
48
        self.cleared_registration = True
49
49
 
 
50
    @property
 
51
    def local_unit(self):
 
52
        return "test-unit"
 
53
 
50
54
 
51
55
class HookTestCase(TestCase):
52
56
    """Base test class for testing hooks."""