summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Affolter <fabian@bernewireless.net>2010-06-08 09:07:02 +0000
committerSol Jerome <solj@ices.utexas.edu>2010-06-09 08:09:54 -0500
commit5e17424ad14f737bce73ae8e3b602a91eb9fb07b (patch)
tree1a5836662c580ae2fae9812a5131b3863c5ec955
parenta2755d2d1a111ad4e55f88a166a5b02856d363cd (diff)
downloadbcfg2-5e17424ad14f737bce73ae8e3b602a91eb9fb07b.tar.gz
bcfg2-5e17424ad14f737bce73ae8e3b602a91eb9fb07b.tar.bz2
bcfg2-5e17424ad14f737bce73ae8e3b602a91eb9fb07b.zip
Updated files to match PEP 257
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5905 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--testsuite/TestPlugin.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/TestPlugin.py b/testsuite/TestPlugin.py
index 66d51a694..a6affbec2 100644
--- a/testsuite/TestPlugin.py
+++ b/testsuite/TestPlugin.py
@@ -46,7 +46,7 @@ class test_entry_set(object):
def test_info(self):
- '''test info and info.xml handling'''
+ """Test info and info.xml handling."""
es = self.es
e = self.e
dirname = self.dirname
@@ -76,7 +76,7 @@ class test_entry_set(object):
def test_file_building(self):
- '''test file building'''
+ """Test file building."""
self.test_init()
ent = lxml.etree.Element('foo')
self.es.bind_entry(ent, self.metadata)
@@ -85,7 +85,7 @@ class test_entry_set(object):
def test_host_specific_file_building(self):
- '''add a host-specific template and build it'''
+ """Add a host-specific template and build it."""
self.e.filename = 'template.H_%s' % self.metadata.hostname
self.e.action = 'exists'
self.es.handle_event(self.e)
@@ -97,7 +97,7 @@ class test_entry_set(object):
def test_deletion(self):
- '''test deletion of files'''
+ """Test deletion of files."""
self.test_init()
self.e.filename = 'template'
self.e.action = 'deleted'