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 ...@@ -7,10 +7,9 @@ import unittest
from slapos.resilient.rdiffBackupStat2RSS import genRSS from slapos.resilient.rdiffBackupStat2RSS import genRSS
class Option(dict): class Option(dict):
def __init__(self, **kw): def __init__(self, **kw):
self.__dict__.update(kw) self.__dict__.update(kw)
def __setitem__(i, y):
self.__dict__[i] = y
class TestRdiffBackupStat2RSS(unittest.TestCase): class TestRdiffBackupStat2RSS(unittest.TestCase):
def setUp(self): 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