Switch to unified view

a b/tests/surrogates/generators/util.py
1
from deidentify.surrogates.generators import RandomData
2
3
class RandomDataMock(RandomData):
4
5
    def digit(self, digits='1'):
6
        return digits
7
8
    def ascii_lowercase(self):
9
        return 'c'
10
11
    def ascii_uppercase(self):
12
        return 'C'
13
14
    def choice(self, seq):
15
        return seq[0]