~robru/friends/csv-model-schema

« back to all changes in this revision

Viewing changes to friends/tests/mocks.py

  • Committer: Robert Bruce Park
  • Date: 2013-04-05 01:02:42 UTC
  • Revision ID: robert.park@canonical.com-20130405010242-66mv5wvc3k1tka1d
Make a comment more explicit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
from urllib.parse import urlsplit
41
41
from gi.repository import Dee
42
42
 
43
 
# Ignore system-installed schema.
 
43
# By default, Schema.FILES will look for the system-installed schema
 
44
# file first, and then failing that will look for the one in the
 
45
# source tree, for performance reasons. During testing though, we want
 
46
# to look at the source tree first, so we reverse the list here.
44
47
from friends.utils.model import Schema
45
48
Schema.FILES = list(reversed(Schema.FILES))
46
49
SCHEMA = Schema()