]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
toaster: adapt xhr_import_layer test locally imported layer
authorSujith H <sujith.h@gmail.com>
Tue, 2 Aug 2016 15:56:17 +0000 (15:56 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 10 Aug 2016 23:08:18 +0000 (00:08 +0100)
Update xhr_import_layer test to use locally imported
layer in local_source_dir.

[YOCO #9911]

Signed-off-by: Sujith H <sujith.h@gmail.com>
lib/toaster/toastergui/tests.py

index 61ac4773f3ad6b77b5324a81dcd318bae8155b87..050861159abda93c67604fa32771d3a0e8758def 100644 (file)
@@ -154,6 +154,7 @@ class ViewTests(TestCase):
                 'name' : "base-layer",
                 'git_ref': "c12b9596afd236116b25ce26dbe0d793de9dc7ce",
                 'project_id': self.project.id,
+                'local_source_dir': "",
                 'dir_path' : "/path/in/repository"}
         response = self.client.post(reverse('xhr_importlayer'), args)
         data = json.loads(response.content.decode('utf-8'))