This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Foo: | |
def __init__(self): | |
print('Foo') | |
class Bar: | |
def __init__(self): | |
print('bar') | |
class Test(Foo, Bar): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from __future__ import unicode_literals | |
import mock | |
post = mock.Mock() | |
def get_side_effect(value, *args): | |
if value == 'author': | |
return u'me' | |
if value == 'tags': |