File: test_mount.py

package info (click to toggle)
mopidy-mpd 3.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 704 kB
  • sloc: python: 7,640; makefile: 3
file content (19 lines) | stat: -rw-r--r-- 666 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from tests import protocol


class MountTest(protocol.BaseTestCase):
    def test_mount(self):
        self.send_request("mount my_disk /dev/sda")
        self.assertEqualResponse("ACK [0@0] {mount} Not implemented")

    def test_unmount(self):
        self.send_request("unmount my_disk")
        self.assertEqualResponse("ACK [0@0] {unmount} Not implemented")

    def test_listmounts(self):
        self.send_request("listmounts")
        self.assertEqualResponse("ACK [0@0] {listmounts} Not implemented")

    def test_listneighbors(self):
        self.send_request("listneighbors")
        self.assertEqualResponse("ACK [0@0] {listneighbors} Not implemented")