Private
Public Access
2
0
Files
mraa/tests/mock/general_checks.py
Thomas Ingleby 170bdd104f spdx: add spdx tags to most files
Large change that removes the duplicated MIT notice withe a spdx tag

Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
2019-05-23 10:09:12 -07:00

22 lines
528 B
Python
Executable File

#!/usr/bin/env python
# Author: Costin Constantin <costin.c.constantin@intel.com>
# Copyright (c) 2015 Intel Corporation.
#
# Contributors: Alex Tereschenko <alext.mkrs@gmail.com>
#
# SPDX-License-Identifier: MIT
import mraa as m
import unittest as u
class GeneralChecks(u.TestCase):
def test_mraa_version(self):
version = m.getVersion()
print("Version is: " + version)
self.assertIsNotNone(version)
self.assertNotEqual(version, "", "MRAA version is an empty string")
if __name__ == "__main__":
u.main()