[Pkg-mozext-commits] [perspectives-extension] 18/30: Unit tests - Move init_data() to the start of the tests, so any test can benefit

David Prévot taffit at alioth.debian.org
Thu Sep 26 22:31:40 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch debian
in repository perspectives-extension.

commit 3f516d2c41bf5812550f383cc155169f3b046f3c
Author: Dave Schaefer <dave.schaefer at gmail.com>
Date:   Sat Sep 14 23:43:21 2013 -0600

    Unit tests - Move init_data() to the start of the tests, so any test can benefit
    
    Eventually we should refactor so this is run as part of normal startup
---
 test/test.html |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/test/test.html b/test/test.html
index 1944753..20be189 100644
--- a/test/test.html
+++ b/test/test.html
@@ -317,7 +317,6 @@ function notary_parsing() {
 
 
 
-  Perspectives.init_data();
 
 
   // check if Perspectives is installed and we're able to read its preferences
@@ -427,6 +426,9 @@ function run_tests() {
   Pers_debug.d_print_flags["error"] = true;
   
   try {
+
+    Perspectives.init_data();
+
     clear();
     meta_tests();
     quorum_basics();

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/perspectives-extension.git



More information about the Pkg-mozext-commits mailing list