File: test_volatile_filestore.py

package info (click to toggle)
python-wikkid 0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 728 kB
  • sloc: python: 3,051; makefile: 12
file content (18 lines) | stat: -rw-r--r-- 533 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# Copyright (C) 2010 Wikkid Developers.
#
# This software is licensed under the GNU Affero General Public License
# version 3 (see the file LICENSE).

"""Tests for the wikkid.filestore.volatile.FileStore."""

from wikkid.tests import TestCase
from wikkid.tests.filestore import TestFileStore
from wikkid.filestore.volatile import FileStore


class TestVolatileFileStore(TestCase, TestFileStore):
    """Tests for the volatile filestore and files."""

    def make_filestore(self, contents=None):
        return FileStore(contents)