예제 #1
0
파일: test_nginx.py 프로젝트: soystack/soy
 def test_mkconf_fail(self):
     rv = soy_nginx._mkconf(**self.vars)
     ok_(rv is False, 'returned %s' % rv)
예제 #2
0
파일: test_nginx.py 프로젝트: soystack/soy
 def test_mkconf_pass(self):
     rv = soy_nginx._mkconf(**self.vars)
     ok_(rv is True, 'returned %s' % rv)