[pitivi] prefs: Run tests if run standalone.
- From: Jean-François Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] prefs: Run tests if run standalone.
- Date: Wed, 8 Jan 2014 18:39:34 +0000 (UTC)
commit be7417aff799a097f610dda6c6bbe2c777002c75
Author: Mathieu Duponchelle <mduponchelle1 gmail com>
Date: Thu Dec 26 16:12:10 2013 +0100
prefs: Run tests if run standalone.
Instead of having to manually set False to True.
pitivi/dialogs/prefs.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/dialogs/prefs.py b/pitivi/dialogs/prefs.py
index e30c0f3..22df84b 100644
--- a/pitivi/dialogs/prefs.py
+++ b/pitivi/dialogs/prefs.py
@@ -402,7 +402,7 @@ class PreferencesDialog(object):
## Preference Test Cases
-if False:
+if __name__ == "__main__":
from pitivi.settings import GlobalSettings
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]