Example #1
0
 def tearDown(self):
     remove_file('/tmp/fbtoken')
     yawtext.facebook.facepy = self.old_facebook
Example #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)
Example #3
0
 def tearDown(self):
     remove_file('/tmp/twittercred.yml')
     yawtext.twitter.tweepy = self.old_tweepy
Example #4
0
 def delete_file(self, repofile):
     remove_file(os.path.join(self.site_root, repofile))