diff options
-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) |