Skip to content

Commit

Permalink
fix: dev: Fixing some names @minor
Browse files Browse the repository at this point in the history
  • Loading branch information
geonexus committed Apr 14, 2015
1 parent 7f5dddb commit d891d68
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions tests/test_redis.py
Expand Up @@ -255,7 +255,7 @@ def testCheckTimeStampInvalid(self):

self.assertEqual(expected, result)

def testILikethegirlwhoisnext2me(self):
def testGetWindowSize(self):
"""test should return a window size of a given tenant."""
p = myredis()

Expand All @@ -265,18 +265,8 @@ def testILikethegirlwhoisnext2me(self):

self.assertEqual(expectedvalue, result)

def testILikethegirlwhoisnext2me(self):
"""test should return a window size of a given tenant."""
p = myredis()

expectedvalue = ["['tenantid', 4]"]
p.insert_window_size(tenantid, ['tenantid', 4])
result = p.get_windowsize(tenantid)

self.assertEqual(expectedvalue, result)

def testMendrugo(self):
"""test should return an error retriving a window size of an unexisting tenant."""
def testGetWidowSizeOfAnUnexistingTenant(self):
"""test should return an empty list retriving a window size of an unexisting tenant."""
p = myredis()

expectedvalue = []
Expand Down

0 comments on commit d891d68

Please sign in to comment.