Ϫf3fdZ ddlmZddlmZGddej Zy#e$rdZY%wxYw)z' Tests for the data directory support. )_appdirsN)unittestc(eZdZdZesdZddZddZy) AppdirsTestsz Tests for L{_appdirs}. zappdirs package not installedNcltj}|j|jdy)z Calling L{appdirs.getDataDirectory} will return a user data directory in the system convention, with the module of the caller as the subdirectory. z twisted.python.test.test_appdirsNrgetDataDirectory assertTrueendswithselfress B/usr/lib/python3/dist-packages/twisted/python/test/test_appdirs.pytest_moduleNamezAppdirsTests.test_moduleNames( '')  %GHIcntjd}|j|jdy)z Calling L{appdirs.getDataDirectory} with a C{moduleName} argument will make a data directory with that name instead. z foo.bar.bazNrr s r test_manualzAppdirsTests.test_manual"s) '' 6  ]34r)returnN)__name__ __module__ __qualname____doc__rskiprrrrrrs .J5rr)rtwisted.pythonr ImportError twisted.trialrTestCaserrrrrs? '#58$$5 Hs &00