diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-04-20 10:01:18 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-04-20 10:11:16 +0100 |
| commit | 37bb053f34c4db1cb326d2aec61688d979b68060 (patch) | |
| tree | 01718bf7b9f7d50dd96b019eaf3d1ad63018bcdc | |
| parent | 7bae0a5b536afd65e38741d428c2aed17760c97f (diff) | |
| download | poky-37bb053f34c4db1cb326d2aec61688d979b68060.tar.gz | |
oeqa/selftest/fetch: Fix whitespace
Update the test whitespace to avoid bitbake warnings.
(From OE-Core rev: 8a324aa2111872138715bde7fbc86bcfc2d8b20e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/fetch.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/meta/lib/oeqa/selftest/cases/fetch.py b/meta/lib/oeqa/selftest/cases/fetch.py index 44099176fc..1beef5cfed 100644 --- a/meta/lib/oeqa/selftest/cases/fetch.py +++ b/meta/lib/oeqa/selftest/cases/fetch.py | |||
| @@ -74,8 +74,8 @@ class Dependencies(OESelftestTestCase): | |||
| 74 | tinfoil.prepare(config_only=False, quiet=2) | 74 | tinfoil.prepare(config_only=False, quiet=2) |
| 75 | 75 | ||
| 76 | r = """ | 76 | r = """ |
| 77 | LICENSE="CLOSED" | 77 | LICENSE = "CLOSED" |
| 78 | SRC_URI="http://example.com/tarball.zip" | 78 | SRC_URI = "http://example.com/tarball.zip" |
| 79 | """ | 79 | """ |
| 80 | f = self.write_recipe(textwrap.dedent(r), tempdir) | 80 | f = self.write_recipe(textwrap.dedent(r), tempdir) |
| 81 | d = tinfoil.parse_recipe_file(f) | 81 | d = tinfoil.parse_recipe_file(f) |
| @@ -84,8 +84,8 @@ class Dependencies(OESelftestTestCase): | |||
| 84 | 84 | ||
| 85 | # Verify that the downloadfilename overrides the URI | 85 | # Verify that the downloadfilename overrides the URI |
| 86 | r = """ | 86 | r = """ |
| 87 | LICENSE="CLOSED" | 87 | LICENSE = "CLOSED" |
| 88 | SRC_URI="https://example.com/tarball;downloadfilename=something.zip" | 88 | SRC_URI = "https://example.com/tarball;downloadfilename=something.zip" |
| 89 | """ | 89 | """ |
| 90 | f = self.write_recipe(textwrap.dedent(r), tempdir) | 90 | f = self.write_recipe(textwrap.dedent(r), tempdir) |
| 91 | d = tinfoil.parse_recipe_file(f) | 91 | d = tinfoil.parse_recipe_file(f) |
| @@ -93,8 +93,8 @@ class Dependencies(OESelftestTestCase): | |||
| 93 | self.assertIn("unzip-native", d.getVarFlag("do_unpack", "depends") or "") | 93 | self.assertIn("unzip-native", d.getVarFlag("do_unpack", "depends") or "") |
| 94 | 94 | ||
| 95 | r = """ | 95 | r = """ |
| 96 | LICENSE="CLOSED" | 96 | LICENSE = "CLOSED" |
| 97 | SRC_URI="ftp://example.com/tarball.lz" | 97 | SRC_URI = "ftp://example.com/tarball.lz" |
| 98 | """ | 98 | """ |
| 99 | f = self.write_recipe(textwrap.dedent(r), tempdir) | 99 | f = self.write_recipe(textwrap.dedent(r), tempdir) |
| 100 | d = tinfoil.parse_recipe_file(f) | 100 | d = tinfoil.parse_recipe_file(f) |
| @@ -102,8 +102,8 @@ class Dependencies(OESelftestTestCase): | |||
| 102 | self.assertIn("lzip-native", d.getVarFlag("do_unpack", "depends")) | 102 | self.assertIn("lzip-native", d.getVarFlag("do_unpack", "depends")) |
| 103 | 103 | ||
| 104 | r = """ | 104 | r = """ |
| 105 | LICENSE="CLOSED" | 105 | LICENSE = "CLOSED" |
| 106 | SRC_URI="git://example.com/repo;branch=master;rev=ffffffffffffffffffffffffffffffffffffffff" | 106 | SRC_URI = "git://example.com/repo;branch=master;rev=ffffffffffffffffffffffffffffffffffffffff" |
| 107 | """ | 107 | """ |
| 108 | f = self.write_recipe(textwrap.dedent(r), tempdir) | 108 | f = self.write_recipe(textwrap.dedent(r), tempdir) |
| 109 | d = tinfoil.parse_recipe_file(f) | 109 | d = tinfoil.parse_recipe_file(f) |
