Large change that removes the duplicated MIT notice withe a spdx tag Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
21 lines
452 B
Python
Executable File
21 lines
452 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
# Author: Costin Constantin <costin.c.constantin@intel.com>
|
|
# Copyright (c) 2015 Intel Corporation.
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
from __future__ import print_function
|
|
|
|
import mraa as m
|
|
import unittest as u
|
|
|
|
class GeneralChecks(u.TestCase):
|
|
def test_mraa_version(self):
|
|
self.version = m.getVersion()
|
|
print("Version is: " + self.version)
|
|
self.assertIsNotNone(self.version)
|
|
|
|
if __name__ == "__main__":
|
|
u.main()
|