bitbake: toaster: adapt xhr_import_layer test locally imported layer

Update xhr_import_layer test to use locally imported
layer in local_source_dir.

[YOCO #9911]

(Bitbake rev: f855490dd04281beb5ae65d82430203d9fd263fc)

Signed-off-by: Sujith H <sujith.h@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Sujith H 2016-08-02 15:56:17 +00:00 committed by Richard Purdie
parent 5827ae0a08
commit cb5ed74e7f
1 changed files with 1 additions and 0 deletions

View 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'))