Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
111 lines (105 sloc) 3.07 KB
# -*- coding: utf-8 -*-
'DELETE', # come on :-)
from brukva import Client
covered_commands = set(c.upper() for c in dir(Client))
uncovered_commands = set(REDIS_COMMANDS).difference(covered_commands)
if __name__ == '__main__':
if not uncovered_commands:
print 'Uncovered commmands:'
for c in sorted(uncovered_commands):
print '\t%s' % c
print 'Commands to cover: %d' % len(uncovered_commands)
print 'Already covered: %d' % len(set(REDIS_COMMANDS).intersection(covered_commands))
Jump to Line
Something went wrong with that request. Please try again.