Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/graphics/common.py2
-rw-r--r--tests/graphics/hipposcalability.py2
-rw-r--r--tests/graphics/iconcache.py4
-rw-r--r--tests/graphics/iconwidget.py2
-rw-r--r--tests/graphics/ticket2855.py2
-rw-r--r--tests/graphics/ticket2999.py2
-rw-r--r--tests/graphics/ticket3000.py2
-rw-r--r--tests/graphics/toolbarpalettes.py2
-rw-r--r--tests/graphics/tray.py2
-rw-r--r--tests/lib/test_mime.py2
10 files changed, 11 insertions, 11 deletions
diff --git a/tests/graphics/common.py b/tests/graphics/common.py
index 1a7bf47..8085261 100644
--- a/tests/graphics/common.py
+++ b/tests/graphics/common.py
@@ -45,7 +45,7 @@ class TestPalette(Test):
class TestRunner(object):
def run(self, test):
window = gtk.Window()
- window.connect("destroy", lambda w: gtk.main_quit())
+ window.connect('destroy', lambda w: gtk.main_quit())
window.add(test)
test.show()
diff --git a/tests/graphics/hipposcalability.py b/tests/graphics/hipposcalability.py
index 4101138..efea57e 100644
--- a/tests/graphics/hipposcalability.py
+++ b/tests/graphics/hipposcalability.py
@@ -47,5 +47,5 @@ gobject.idle_add(idle_cb)
test.show()
-if __name__ == "__main__":
+if __name__ == '__main__':
common.main(test)
diff --git a/tests/graphics/iconcache.py b/tests/graphics/iconcache.py
index 90511d4..b3a8443 100644
--- a/tests/graphics/iconcache.py
+++ b/tests/graphics/iconcache.py
@@ -59,12 +59,12 @@ for d in data:
test.pack_start(icon)
icon.show()
-button = gtk.Button("mec mac")
+button = gtk.Button('mec mac')
test.pack_start(button)
button.connect('activate', _button_activated_cb)
button.show()
test.show()
-if __name__ == "__main__":
+if __name__ == '__main__':
common.main(test)
diff --git a/tests/graphics/iconwidget.py b/tests/graphics/iconwidget.py
index 625306e..a425c17 100644
--- a/tests/graphics/iconwidget.py
+++ b/tests/graphics/iconwidget.py
@@ -83,5 +83,5 @@ test.show()
#import gobject
#gobject.idle_add(idle_cb)
-if __name__ == "__main__":
+if __name__ == '__main__':
common.main(test)
diff --git a/tests/graphics/ticket2855.py b/tests/graphics/ticket2855.py
index cc4b3c0..4d9d9d4 100644
--- a/tests/graphics/ticket2855.py
+++ b/tests/graphics/ticket2855.py
@@ -55,5 +55,5 @@ radio.show()
palette.set_content(box)
box.show()
-if __name__ == "__main__":
+if __name__ == '__main__':
common.main(test)
diff --git a/tests/graphics/ticket2999.py b/tests/graphics/ticket2999.py
index a7b92d5..caf7adf 100644
--- a/tests/graphics/ticket2999.py
+++ b/tests/graphics/ticket2999.py
@@ -34,5 +34,5 @@ text_view.props.buffer.props.text = 'Blah blah blah, blah blah blah.'
test.pack_start(text_view)
text_view.show()
-if __name__ == "__main__":
+if __name__ == '__main__':
common.main(test)
diff --git a/tests/graphics/ticket3000.py b/tests/graphics/ticket3000.py
index c28b2cb..f2fdfd9 100644
--- a/tests/graphics/ticket3000.py
+++ b/tests/graphics/ticket3000.py
@@ -44,5 +44,5 @@ toolbar.insert(button, -1)
button.show()
-if __name__ == "__main__":
+if __name__ == '__main__':
common.main(test)
diff --git a/tests/graphics/toolbarpalettes.py b/tests/graphics/toolbarpalettes.py
index 608ef57..3a69455 100644
--- a/tests/graphics/toolbarpalettes.py
+++ b/tests/graphics/toolbarpalettes.py
@@ -61,5 +61,5 @@ vbox.show()
test.show()
-if __name__ == "__main__":
+if __name__ == '__main__':
common.main(test)
diff --git a/tests/graphics/tray.py b/tests/graphics/tray.py
index f589f4e..99d4891 100644
--- a/tests/graphics/tray.py
+++ b/tests/graphics/tray.py
@@ -78,5 +78,5 @@ vbox.show()
test.show()
-if __name__ == "__main__":
+if __name__ == '__main__':
common.main(test)
diff --git a/tests/lib/test_mime.py b/tests/lib/test_mime.py
index 860bbdb..b59b58e 100644
--- a/tests/lib/test_mime.py
+++ b/tests/lib/test_mime.py
@@ -80,5 +80,5 @@ class TestMime(unittest.TestCase):
self.assertEqual(mime_type, 'text/plain')
-if __name__ == "__main__":
+if __name__ == '__main__':
unittest.main()