示例#1
0
 def tearDown(self):
     remove_file('/tmp/fbtoken')
     yawtext.facebook.facepy = self.old_facebook
示例#2
0
文件: siteutils.py 项目: drivet/yawt
 def remove_content(self, rel_filename):
     abs_content_file = os.path.join(self.abs_content_root(), rel_filename)
     remove_file(abs_content_file)
示例#3
0
 def tearDown(self):
     remove_file('/tmp/twittercred.yml')
     yawtext.twitter.tweepy = self.old_tweepy
示例#4
0
文件: __init__.py 项目: drivet/yawt
 def delete_file(self, repofile):
     remove_file(os.path.join(self.site_root, repofile))