示例#1
0
 def test_executable(self):
     dc = Depcheck(None, None, {
         "executable": "/usr/bin/env"
     })
     dc.install()
示例#2
0
 def test_locales_exists_one(self):
     dc = Depcheck(None, None, {
         "locale-file": self.locale_file.name,
         "locale": "en_GB.UTF-8",
     })
     dc.install()
示例#3
0
 def test_locales_exists_many(self):
     dc = Depcheck(None, None, {
         "locale-file": self.locale_file.name,
         "locale": "\n    en_GB.UTF-8\n    nl_NL.UTF-8",
     })
     dc.install()
示例#4
0
 def test_empty(self):
     dc = Depcheck(None, None, {})
     dc.install()