Message ID | 20231030195037.232912-5-alassane.yattara@savoirfairelinux.com |
---|---|
State | New |
Headers | show |
Series | [1/8] Toaster: Update toaster-requirements.txt to add pytest and some plugin's | expand |
On Mon, Oct 30, 2023 at 12:51 PM Alassane Yattara < alassane.yattara@savoirfairelinux.com> wrote: > toastergui-unittest-data.xml fixture contains a release objects with > name="master" or an release with same name seem existing > This is likely because we have a "master" release (the development branch) in both oe-core.xml and poky.xml https://git.openembedded.org/bitbake/tree/lib/toaster/orm/fixtures Those fixtures are very important to provide the expected drop down menus for choosing a release for a project. - Change release name and fix bitbakeversion instead of bitbake_version > Good catch on the bad "orm.bitbake_version" field, that must have been a typo. > > Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com> > Reviewed-by: Tim Orling <tim.orling@konsulko.com> > --- > lib/toaster/toastergui/fixtures/toastergui-unittest-data.xml | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/lib/toaster/toastergui/fixtures/toastergui-unittest-data.xml > b/lib/toaster/toastergui/fixtures/toastergui-unittest-data.xml > index 1d522f88..df106934 100644 > --- a/lib/toaster/toastergui/fixtures/toastergui-unittest-data.xml > +++ b/lib/toaster/toastergui/fixtures/toastergui-unittest-data.xml > @@ -19,9 +19,9 @@ > <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="name">foo_master</field> > <field type="CharField" name="description">master project</field> > - <field to="orm.bitbake_version" name="bitbake_version">1</field> > + <field to="orm.bitbakeversion" name="bitbake_version">1</field> > </object> > <object pk="1" model="orm.project"> > <field type="CharField" name="name">a test project</field> > -- > 2.34.1 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#15329): > https://lists.openembedded.org/g/bitbake-devel/message/15329 > Mute This Topic: https://lists.openembedded.org/mt/102283461/924729 > Group Owner: bitbake-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/bitbake-devel/unsub [ > ticotimo@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- > >
diff --git a/lib/toaster/toastergui/fixtures/toastergui-unittest-data.xml b/lib/toaster/toastergui/fixtures/toastergui-unittest-data.xml index 1d522f88..df106934 100644 --- a/lib/toaster/toastergui/fixtures/toastergui-unittest-data.xml +++ b/lib/toaster/toastergui/fixtures/toastergui-unittest-data.xml @@ -19,9 +19,9 @@ <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="name">foo_master</field> <field type="CharField" name="description">master project</field> - <field to="orm.bitbake_version" name="bitbake_version">1</field> + <field to="orm.bitbakeversion" name="bitbake_version">1</field> </object> <object pk="1" model="orm.project"> <field type="CharField" name="name">a test project</field>
toastergui-unittest-data.xml fixture contains a release objects with name="master" or an release with same name seem existing - Change release name and fix bitbakeversion instead of bitbake_version Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com> --- lib/toaster/toastergui/fixtures/toastergui-unittest-data.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)