Skip to content

Commit

Permalink
Update non-test paths for css/ post-merge
Browse files Browse the repository at this point in the history
  • Loading branch information
gsnedders committed Mar 15, 2017
1 parent 47be062 commit 9d0a6ea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion manifest/sourcefile.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ class SourceFile(object):
"support",
"tools"])

dir_path_non_test = {("css21", "archive")}
dir_path_non_test = {("css21", "archive"),
("css", "css21", "archive"),
("css", "common"),
("css", "work-in-progress")}

def __init__(self, tests_root, rel_path, url_base, contents=None):
"""Object representing a file in a source tree.
Expand Down
5 changes: 4 additions & 1 deletion manifest/tests/test_sourcefile.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ def items(s):
"foo/tools/test.html",
"foo/resources/test.html",
"foo/support/test.html",
"foo/test-support.html"
"foo/test-support.html",
"css/common/test.html",
"css/css21/archive/test.html",
"css/work-in-progress/test.html",
])
def test_name_is_non_test(rel_path):
s = create(rel_path)
Expand Down

0 comments on commit 9d0a6ea

Please sign in to comment.