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