<s> import unittest <EOL> from mock import MagicMock <EOL> from mock import patch <EOL> from biicode . client . shell . userio import UserIO <EOL> from biicode . client . dev . hardware . raspberry_pi . raspberrypi import RaspberryPi <EOL> from biicode . client . workspace . hive_disk_image import HiveDiskImage <EOL> from biicode . client . workspace . bii_paths import BiiPaths <EOL> @ patch ( '<STR_LIT>' ) <EOL> class RaspberryPiUnitTests ( unittest . TestCase ) : <EOL> def setUp ( self ) : <EOL> self . hive_disk_image_mock = MagicMock ( HiveDiskImage ) <EOL> paths_mock = MagicMock ( BiiPaths ) <EOL> paths_mock . hive = '<STR_LIT>' <EOL> self . io_mock = MagicMock ( UserIO ) <EOL> self . paths = paths_mock <EOL> self . user = "<STR_LIT>" <EOL> self . ip = "<STR_LIT>" <EOL> self . hive_disk_image_mock . settings . rpi . user = self . user <EOL> self . hive_disk_image_mock . settings . rpi . ip = self . ip <EOL> self . cut = RaspberryPi ( self . io_mock , paths_mock , self . hive_disk_image_mock ) </s>
