- Update toastergui/fixtures/toastergui-unittest-data.xml to added tow distro
objects. Test fail because distro table was empty

Signed-off-by: Alassane Yattara <[email protected]>
---
 .../toastergui/fixtures/toastergui-unittest-data.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/lib/toaster/toastergui/fixtures/toastergui-unittest-data.xml 
b/lib/toaster/toastergui/fixtures/toastergui-unittest-data.xml
index 4517ed17..1d522f88 100644
--- a/lib/toaster/toastergui/fixtures/toastergui-unittest-data.xml
+++ b/lib/toaster/toastergui/fixtures/toastergui-unittest-data.xml
@@ -6,6 +6,18 @@
       <field type="CharField" name="dirpath">b</field>
       <field type="CharField" name="branch">a</field>
   </object>
+  <object pk="1" model="orm.distro">
+     <field type="DateTimeField" name="up_date"><None></None></field>
+     <field to="orm.layer_version" name="layer_version" 
rel="ManyToOneRel">1</field>
+     <field type="CharField" name="name">poky_distro1</field>
+     <field type="CharField" name="description">poky_distro1 
description</field>
+  </object>
+  <object pk="2" model="orm.distro">
+     <field type="DateTimeField" name="up_date"><None></None></field>
+     <field to="orm.layer_version" name="layer_version" 
rel="ManyToOneRel">2</field>
+     <field type="CharField" name="name">poky_distro2</field>
+     <field type="CharField" name="description">poky_distro2 
description</field>
+  </object>
   <object pk="1" model="orm.release">
      <field type="CharField" name="name">master</field>
      <field type="CharField" name="description">master project</field>
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5872): https://lists.yoctoproject.org/g/toaster/message/5872
Mute This Topic: https://lists.yoctoproject.org/mt/102028166/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/toaster/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to