import unittest
import dimod


class TestRandomSampler(unittest.TestCase, dimod.test.SamplerAPITestCaseMixin):

    def setUp(self):
        self.sampler = dimod.RandomSampler()
        self.sampler_factory = dimod.RandomSampler

b3d159e6481aed0200cdd1890768e26a1c6c8b2f
<mask token>

<mask token>


class TestRandomSampler(unittest.TestCase, dimod.test.SamplerAPITestCaseMixin):
    <mask token>

<mask token>


class TestRandomSampler(unittest.TestCase, dimod.test.SamplerAPITestCaseMixin):

    def setUp(self):
        self.sampler = dimod.RandomSampler()
        self.sampler_factory = dimod.RandomSampler

import unittest
import dimod


class TestRandomSampler(unittest.TestCase, dimod.test.SamplerAPITestCaseMixin):

    def setUp(self):
        self.sampler = dimod.RandomSampler()
        self.sampler_factory = dimod.RandomSampler
