Skip to content

Commit

Permalink
Fix newlines in test_match.py
Browse files Browse the repository at this point in the history
  • Loading branch information
coldfix committed May 4, 2016
1 parent 0d34424 commit a1575c8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions test/test_match.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
These tests are intended to demonstrate and ensure the correct usage of the
config file used by udiskie for custom device options.
"""

import unittest

import tempfile
Expand All @@ -15,17 +15,21 @@

from udiskie.config import Config


class TestDev(object):

def __init__(self, object_path, id_type, id_uuid):
self.object_path = object_path
self.id_type = id_type
self.id_uuid = id_uuid


class TestFilterMatcher(unittest.TestCase):

"""
Tests for the udiskie.match.FilterMatcher class.
"""

def setUp(self):
"""Create a temporary config file."""
self.base = tempfile.mkdtemp()
Expand Down Expand Up @@ -83,3 +87,6 @@ def test_options(self):
self.mount_options(
TestDev('/nomatch', 'ext', 'no-matching-id')))


if __name__ == '__main__':
unittest.main()

0 comments on commit a1575c8

Please sign in to comment.