<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ticket search results</title><link>https://forge-allura.apache.org/p/allura/tickets/</link><description>You searched for labels:"tests"</description><language>en</language><lastBuildDate>Thu, 20 Aug 2015 22:07:57 -0000</lastBuildDate><item><title>Tests create trove categories unnecessarily</title><link>https://forge-allura.apache.org/p/allura/tickets/7260/</link><description>`wipe_database` creates all the trove categories, which is unnecessary in many cases.  And in the case of some of the ForgeTracker unit/model tests which call `wipe_database`, the plethora of event tasks generated for the trove category changes take a very long time to process.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Thu, 20 Aug 2015 22:07:00 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/7260/</guid></item><item><title>Test speedup by reducing user-app installation</title><link>https://forge-allura.apache.org/p/allura/tickets/3642/</link><description>This gains a 30-40% speedup, based on initial test tests.  I haven't tested everything, so some tests may need some user apps available -- and if not, we need to add tests that cover the user apps.  Also, of course, we want to make it some sort of test config option, so that in real usage the user apps are installed.

~~~~
diff --git a/Allura/allura/model/project.py b/Allura/allura/model/project.py
index 57e43d6..2cf2994 100644
--- a/Allura/allura/model/project.py
+++ b/Allura/allura/model/project.py
@@ -574,10 +574,7 @@ def configure_project(
         if users is None: users = [ c.user ]
         if apps is None:
             if is_user_project:
-                apps = [('Wiki', 'wiki', 'Wiki'),
-                        ('profile', 'profile', 'Profile'),
-                        ('admin', 'admin', 'Admin'),
-                        ('search', 'search', 'Search')]
+                apps = []
             else:
                 apps = [('admin', 'admin', 'Admin'),
                         ('search', 'search', 'Search')]
diff --git a/Allura/allura/model/auth.py b/Allura/allura/model/auth.py
index e66e469..e985e17 100644
--- a/Allura/allura/model/auth.py
+++ b/Allura/allura/model/auth.py
@@ -402,11 +402,12 @@ def register(cls, doc, make_project=True):
             p._extra_tool_status = ['user']
             # add user project informative text to home
             home_app = p.app_instance('wiki')
-            home_page = WM.Page.query.get(app_config_id=home_app.config._id)
-            home_page.text = ("This is the personal project of %s."
-            " This project is created automatically during user registration"
-            " as an easy place to store personal data that doesn't need its own"
-            " project such as cloned repositories.") % user.display_name
+            if home_app:
+                home_page = WM.Page.query.get(app_config_id=home_app.config._id)
+                home_page.text = ("This is the personal project of %s."
+                " This project is created automatically during user registration"
+                " as an easy place to store personal data that doesn't need its own"
+                " project such as cloned repositories.") % user.display_name
         return user
 
     def private_project(self):
~~~~</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Thu, 20 Aug 2015 22:07:55 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/3642/</guid></item><item><title>Improve html5 validation performance</title><link>https://forge-allura.apache.org/p/allura/tickets/1311/</link><description>Rick reported that adding online html5 validation increased testsuite runtime from 15 to 40 mins. There need to be more fine-grained control over which validations are to be run.

Also, it would be nice to find alternative to online html5 validation.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paul Sokolovsky</dc:creator><pubDate>Wed, 23 Mar 2011 14:41:38 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/1311/</guid></item><item><title>Fix validation errors across all apps</title><link>https://forge-allura.apache.org/p/allura/tickets/1260/</link><description>Now that #1233 is done and html5 theme fixes are backported, fix remaining validation errors across all apps, to be prepared to enable validation failures for tests.
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paul Sokolovsky</dc:creator><pubDate>Thu, 20 Aug 2015 22:07:57 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/1260/</guid></item><item><title>Achieve 90% test coverage on Allura project</title><link>https://forge-allura.apache.org/p/allura/tickets/1237/</link><description/><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rick Copeland</dc:creator><pubDate>Thu, 20 Aug 2015 22:07:55 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/1237/</guid></item><item><title>Cleanup Allura's BaseController</title><link>https://forge-allura.apache.org/p/allura/tickets/1234/</link><description>From https://engr.geek.net/hudson/job/allura/414/testReport/junit/alluratest/test_syntax/test_pyflakes/ :

pyflakes failure
-------------------- &gt;&gt; begin captured stdout &lt;&lt; ---------------------
Allura/allura/lib/base.py:47: undefined name 'OEmbedController'
Allura/allura/lib/base.py:50: undefined name 'HostNeighborhoodController'

That's BaseController referring to its subclasses.
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paul Sokolovsky</dc:creator><pubDate>Thu, 20 Aug 2015 22:07:56 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/1234/</guid></item><item><title>Factor out test support code to separate package</title><link>https://forge-allura.apache.org/p/allura/tickets/1233/</link><description>From mail:

2. So, I'd like to propose to separate test support functionality into
own top-level package, and consolidate all test related functionality
under it (e.g., move twill-tests in there).

3. Do this in such way as to look forward to separate this into package
reusable across projects (for example, current validation tests in
allura is concurrent fork of sfpy's tests).
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paul Sokolovsky</dc:creator><pubDate>Thu, 20 Aug 2015 22:07:53 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/1233/</guid></item></channel></rss>