Merge "Fix spelling of "unknown""
This commit is contained in:
commit
5785d21908
@ -456,7 +456,7 @@ class Unknown(Platform):
|
|||||||
"""Unknown platform implementation. Raises error."""
|
"""Unknown platform implementation. Raises error."""
|
||||||
|
|
||||||
def get_pkg_version(self, pkg_name):
|
def get_pkg_version(self, pkg_name):
|
||||||
raise Exception("Uknown package manager for current platform.")
|
raise Exception("Unknown package manager for current platform.")
|
||||||
|
|
||||||
|
|
||||||
class Brew(Platform):
|
class Brew(Platform):
|
||||||
|
@ -125,7 +125,7 @@ class TestDepends(TestCase):
|
|||||||
self.assertThat(
|
self.assertThat(
|
||||||
depends.platform_profiles(), Contains("platform:unknown"))
|
depends.platform_profiles(), Contains("platform:unknown"))
|
||||||
with ExpectedException(Exception,
|
with ExpectedException(Exception,
|
||||||
"Uknown package manager for "
|
"Unknown package manager for "
|
||||||
"current platform."):
|
"current platform."):
|
||||||
depends.platform.get_pkg_version('x')
|
depends.platform.get_pkg_version('x')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user