Merge branch 'master' of https://github.com/spulec/moto into spulec-master

This commit is contained in:
Stephan Huber 2018-10-16 15:29:56 +02:00
commit 0ba213ffcc
76 changed files with 7929 additions and 4971 deletions

View file

@ -85,3 +85,14 @@ class TesterWithSetup(unittest.TestCase):
def test_still_the_same(self):
bucket = self.conn.get_bucket('mybucket')
bucket.name.should.equal("mybucket")
@mock_s3_deprecated
class TesterWithStaticmethod(object):
@staticmethod
def static(*args):
assert not args or not isinstance(args[0], TesterWithStaticmethod)
def test_no_instance_sent_to_staticmethod(self):
self.static()