X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb-python/blobdiff_plain/204416123385794c92b7767e7702c0d4fd387468..740847afe208bb8f33e7d6cf642acaf4aa739f6a:/t/t-misc.py diff --git a/t/t-misc.py b/t/t-misc.py new file mode 100644 index 0000000..18a3170 --- /dev/null +++ b/t/t-misc.py @@ -0,0 +1,41 @@ +### -*- mode: python, coding: utf-8 -*- +### +### Miscellaneous tests +### +### (c) 2019 Straylight/Edgeware +### + +###----- Licensing notice --------------------------------------------------- +### +### This file is part of the Python interface to Catacomb. +### +### Catacomb/Python is free software: you can redistribute it and/or +### modify it under the terms of the GNU General Public License as +### published by the Free Software Foundation; either version 2 of the +### License, or (at your option) any later version. +### +### Catacomb/Python is distributed in the hope that it will be useful, but +### WITHOUT ANY WARRANTY; without even the implied warranty of +### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +### General Public License for more details. +### +### You should have received a copy of the GNU General Public License +### along with Catacomb/Python. If not, write to the Free Software +### Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, +### USA. + +###-------------------------------------------------------------------------- +### Imported modules. + +import catacomb as C +import unittest as U + +###-------------------------------------------------------------------------- +class Tests (U.TestCase): + + def test_path(me): + me.assertTrue(C.__file__.startswith("build")) + +###----- That's all, folks -------------------------------------------------- + +if __name__ == "__main__": U.main()