Exemplo n.º 1
0
 def tearDown(self):
     remove_file('/tmp/fbtoken')
     yawtext.facebook.facepy = self.old_facebook
Exemplo n.º 2
0
 def remove_content(self, rel_filename):
     abs_content_file = os.path.join(self.abs_content_root(), rel_filename)
     remove_file(abs_content_file)
Exemplo n.º 3
0
 def tearDown(self):
     remove_file('/tmp/twittercred.yml')
     yawtext.twitter.tweepy = self.old_tweepy
Exemplo n.º 4
0
 def delete_file(self, repofile):
     remove_file(os.path.join(self.site_root, repofile))