def test_starts_with_lists(self):
        self.assertTrue(starts_with([1], [1, 2]))
        self.assertTrue(starts_with(['a', 'b'], ['a', 'b', 'c']))

        self.assertFalse(starts_with([1], []))
        self.assertFalse(starts_with([1, 2, 3], [3, 2, 1, 3]))
Attaches device to the guest.
dataset/ETHPy150Open duerrp/pyexperiment/tests/test_functional.py/TestStartsWith.test_starts_with_lists--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/libvirt/guest.py/Guest.attach_device