Commit bdce6e76 authored by Jérome Perrin's avatar Jérome Perrin

test_rdiffBackupStat2RSS: drop broken Option.__setitem__

this code referenced non existing variables, it was not used
parent 14d34d27
......@@ -7,10 +7,9 @@ import unittest
from slapos.resilient.rdiffBackupStat2RSS import genRSS
class Option(dict):
def __init__(self, **kw):
self.__dict__.update(kw)
def __setitem__(i, y):
self.__dict__[i] = y
def __init__(self, **kw):
self.__dict__.update(kw)
class TestRdiffBackupStat2RSS(unittest.TestCase):
def setUp(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment