From 3dea43e71b2ea66070beb2c51858cc79e0e66ecb Mon Sep 17 00:00:00 2001 From: Dougal Matthews Date: Mon, 20 Mar 2017 11:34:14 +0000 Subject: [PATCH] Don't force policy specs into approved or implemented directories Change-Id: I9b6baec77bf17156c0039d641f84b01c8ca11196 --- tests/test_directories.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/test_directories.py b/tests/test_directories.py index 119a5ad..404bf0d 100644 --- a/tests/test_directories.py +++ b/tests/test_directories.py @@ -21,6 +21,12 @@ class TestDirectories(testtools.TestCase): releases = [x.split('/')[1] for x in glob.glob('specs/*/')] for release in releases: + + if release == 'policy': + # Policy specs are never "implemented" so they don't need to be + # nested in the same way. + continue + files = os.listdir("specs/%s/" % release) valid_names = ['approved', 'implemented']