1 |
commit: d4373bbc1dd9a8bb9fd4c0af13ef9c44ec39ceb4 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 27 16:38:57 2011 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 27 16:38:57 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pms-test-suite.git;a=commit;h=d4373bbc |
7 |
|
8 |
Switch from pkg.metadata[] to pkg.defined_phases. |
9 |
|
10 |
--- |
11 |
pmstestsuite/library/standard/special_vars.py | 4 ++-- |
12 |
1 files changed, 2 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/pmstestsuite/library/standard/special_vars.py b/pmstestsuite/library/standard/special_vars.py |
15 |
index 8c35f08..eab61dc 100644 |
16 |
--- a/pmstestsuite/library/standard/special_vars.py |
17 |
+++ b/pmstestsuite/library/standard/special_vars.py |
18 |
@@ -57,5 +57,5 @@ class DefinedPhasesTest(DBusEbuildTestCase): |
19 |
if not DBusEbuildTestCase.check_dbus_result(self, output, pm): |
20 |
return False |
21 |
|
22 |
- phases = pm.installed[self.atom(pm)].metadata.DEFINED_PHASES.split() |
23 |
- return (' '.join(phases) == 'setup') |
24 |
+ phases = pm.installed[self.atom(pm)].defined_phases |
25 |
+ return (str(phases) == 'setup') |