Index: indico/MaKaC/user.py
===================================================================
--- indico/MaKaC/user.py	(revision 1035b2fd8d2762284792d61c14d6a6563efe71ce)
+++ indico/MaKaC/user.py	(revision a241340c5c0fc263aa40f256a354eef88eb86cbe)
@@ -1396,4 +1396,5 @@
         for userid in set:
             av=self.getById(userid)
+            print "USERID: %s" % userid
             if not onlyActivated or av.isActivated():
                 result[av.getEmail()]=av
Index: indico/MaKaC/webinterface/rh/login.py
===================================================================
--- indico/MaKaC/webinterface/rh/login.py	(revision bdd862c370446d56bfeedaade112a77717049db1)
+++ indico/MaKaC/webinterface/rh/login.py	(revision a241340c5c0fc263aa40f256a354eef88eb86cbe)
@@ -62,5 +62,5 @@
             return p.display( returnURL = self._returnURL )
         else:
-            li = LoginInfo( self._login, self._password )   
+            li = LoginInfo( self._login, self._password )
             av = auth.getAvatar(li)
             if not av:
Index: indicop/__init__.py
===================================================================
--- indicop/__init__.py	(revision 775f5b85ce9d261c92fedb4a03878c4e739dcaba)
+++ indicop/__init__.py	(revision a241340c5c0fc263aa40f256a354eef88eb86cbe)
@@ -35,4 +35,5 @@
 import figleaf
 import figleaf.annotate_html
+import subprocess
 
 
@@ -45,10 +46,26 @@
     if coverage:
         figleaf.start()
+        
+    #Starting Selenium server
+    child = subprocess.Popen(["java", "-jar", "indicop/selenium_tests/selenium-server.jar"], stdout=subprocess.PIPE)
+    
+    #This is a cheap trick to make sure that selenium has fully
+    #started before launching the tests.
+    #Selenium (1.0.1) displays 5 lines in the shell before being ready
+    counter = 0
+    while counter < 5:
+        child_output = child.stdout.readline()
+        #print "Selenium debug %s: %s" % (counter, child_output)
+        counter += 1
     
     if testPath:
         result = nose.run(argv=['nose','-v', 'indicop/MaKaC_tests/%s' % testPath])
     else:
-        result = nose.run(argv=['nose','-v', 'indicop/MaKaC_tests/'])
-
+        #result = nose.run(argv=['nose','-v', 'indicop/MaKaC_tests/'])
+        result = nose.run(argv=['nose','-v', 'indicop/selenium_tests/create_delete_lecture_test.py:Selenium_test.test_create_delete_lecture'])
+    
+    #Stopping Selenium Server
+    child.kill()
+    
     if coverage:
         figleaf.stop()
