diff options
| -rw-r--r-- | meta/lib/oeqa/sdk/buildtools-cases/sanity.py | 2 | ||||
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/devtool.py | 2 | ||||
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/liboe.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oeqa/sdk/buildtools-cases/sanity.py b/meta/lib/oeqa/sdk/buildtools-cases/sanity.py index 64baaa8f84..68b19f4d47 100644 --- a/meta/lib/oeqa/sdk/buildtools-cases/sanity.py +++ b/meta/lib/oeqa/sdk/buildtools-cases/sanity.py | |||
| @@ -19,4 +19,4 @@ class SanityTests(OESDKTestCase): | |||
| 19 | # Canonicalise the location of this command | 19 | # Canonicalise the location of this command |
| 20 | tool_path = os.path.realpath(self._run("command -v %s" % command).strip()) | 20 | tool_path = os.path.realpath(self._run("command -v %s" % command).strip()) |
| 21 | # Assert that the tool was found inside the SDK root | 21 | # Assert that the tool was found inside the SDK root |
| 22 | self.assertEquals(os.path.commonprefix((sdk_base, tool_path)), sdk_base) | 22 | self.assertEqual(os.path.commonprefix((sdk_base, tool_path)), sdk_base) |
diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py index aea2ad6561..dc0fc35062 100644 --- a/meta/lib/oeqa/selftest/cases/devtool.py +++ b/meta/lib/oeqa/selftest/cases/devtool.py | |||
| @@ -919,7 +919,7 @@ class DevtoolModifyTests(DevtoolBase): | |||
| 919 | runCmd('git -C %s checkout %s' % (tempdir, branch)) | 919 | runCmd('git -C %s checkout %s' % (tempdir, branch)) |
| 920 | with open(source, "rt") as f: | 920 | with open(source, "rt") as f: |
| 921 | content = f.read() | 921 | content = f.read() |
| 922 | self.assertEquals(content, expected) | 922 | self.assertEqual(content, expected) |
| 923 | check('devtool', 'This is a test for something\n') | 923 | check('devtool', 'This is a test for something\n') |
| 924 | check('devtool-no-overrides', 'This is a test for something\n') | 924 | check('devtool-no-overrides', 'This is a test for something\n') |
| 925 | check('devtool-override-qemuarm', 'This is a test for qemuarm\n') | 925 | check('devtool-override-qemuarm', 'This is a test for qemuarm\n') |
diff --git a/meta/lib/oeqa/selftest/cases/liboe.py b/meta/lib/oeqa/selftest/cases/liboe.py index afe8f8809f..da88ff480e 100644 --- a/meta/lib/oeqa/selftest/cases/liboe.py +++ b/meta/lib/oeqa/selftest/cases/liboe.py | |||
| @@ -97,6 +97,6 @@ class LibOE(OESelftestTestCase): | |||
| 97 | 97 | ||
| 98 | dstcnt = len(os.listdir(dst)) | 98 | dstcnt = len(os.listdir(dst)) |
| 99 | srccnt = len(os.listdir(src)) | 99 | srccnt = len(os.listdir(src)) |
| 100 | self.assertEquals(dstcnt, len(testfiles), "Number of files in dst (%s) differs from number of files in src(%s)." % (dstcnt, srccnt)) | 100 | self.assertEqual(dstcnt, len(testfiles), "Number of files in dst (%s) differs from number of files in src(%s)." % (dstcnt, srccnt)) |
| 101 | 101 | ||
| 102 | oe.path.remove(testloc) | 102 | oe.path.remove(testloc) |
