Beispiel #1
0
 def test_mute(self):
     self.reddit.read_only = False
     with self.recorder.use_cassette('TestSubredditMessage.test_mute'):
         message = SubredditMessage(self.reddit, _data={'id': '5yr8id'})
         message.mute()
Beispiel #2
0
 def test_mute(self):
     self.reddit.read_only = False
     with self.recorder.use_cassette('TestSubredditMessage.test_mute'):
         message = SubredditMessage(self.reddit, _data={'id': '5yr8id'})
         message.mute()
Beispiel #3
0
 def test_mute(self):
     self.reddit.read_only = False
     with self.use_cassette():
         message = SubredditMessage(self.reddit, _data={"id": "5yr8id"})
         message.mute()
Beispiel #4
0
 def test_mute(self):
     self.reddit.read_only = False
     with self.recorder.use_cassette("TestSubredditMessage.test_mute"):
         message = SubredditMessage(self.reddit, _data={"id": "5yr8id"})
         message.mute()