コード例 #1
0
def suspend(**kwargs):
    ret = Host(__salt__, **kwargs)
    return ret.suspend()
コード例 #2
0
ファイル: test_nginx.py プロジェクト: jamesalbert/soy
 def test_suspend_true(self):
     t = Host(self.__salt__, **self.vars)
     rv = t.suspend()
     ok_(rv is True, 'returned %s' % rv)
コード例 #3
0
ファイル: test_nginx.py プロジェクト: jamesalbert/soy
 def test_suspend_fail(self):
     t = Host(self.__salt__, **self.vars)
     rv = t.suspend()
     ok_(rv is False, 'returned %s' % rv)
コード例 #4
0
ファイル: soy_nginx.py プロジェクト: jamesalbert/soy
def suspend(**kwargs):
    ret = Host(__salt__, **kwargs)
    return ret.suspend()
コード例 #5
0
ファイル: test_nginx.py プロジェクト: jamesalbert/soy
 def test_suspend_true(self):
     t = Host(self.__salt__, **self.vars)
     rv = t.suspend()
     ok_(rv is True, 'returned %s' % rv)
コード例 #6
0
ファイル: test_nginx.py プロジェクト: jamesalbert/soy
 def test_suspend_fail(self):
     t = Host(self.__salt__, **self.vars)
     rv = t.suspend()
     ok_(rv is False, 'returned %s' % rv)