chiark / gitweb /
@@@ mdwopt buggy wip
[mLib-python] / t / t-misc.py
CommitLineData
81f68b64
MW
1### -*- mode: python, coding: utf-8 -*-
2###
3### Miscellaneous tests
4###
5### (c) 2019 Straylight/Edgeware
6###
7
8###----- Licensing notice ---------------------------------------------------
9###
10### This file is part of the Python interface to mLib.
11###
12### mLib/Python is free software: you can redistribute it and/or
13### modify it under the terms of the GNU General Public License as
14### published by the Free Software Foundation; either version 2 of the
15### License, or (at your option) any later version.
16###
17### mLib/Python is distributed in the hope that it will be useful, but
18### WITHOUT ANY WARRANTY; without even the implied warranty of
19### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20### General Public License for more details.
21###
22### You should have received a copy of the GNU General Public License
23### along with mLib/Python. If not, write to the Free Software
24### Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
25### USA.
26
27###--------------------------------------------------------------------------
28### Imported modules.
29
30import mLib as M
31import unittest as U
32
33###--------------------------------------------------------------------------
34class Tests (U.TestCase):
35
36 def test_path(me):
fcc8f4ca 37 print(M.__file__)
81f68b64
MW
38 me.assertTrue(M.__file__.startswith("build"))
39
40###----- That's all, folks --------------------------------------------------
41
42if __name__ == "__main__": U.main()