From 803f156e3085d79a771614e7a819265e43f73bce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= Date: Tue, 27 Aug 2024 18:42:32 +0100 Subject: [PATCH] chore: new simple test --- src/dropbox/test/__init__.py | 26 +++++++++++++++++++++++++ src/dropbox/test/base.py | 37 ++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 src/dropbox/test/__init__.py create mode 100644 src/dropbox/test/base.py diff --git a/src/dropbox/test/__init__.py b/src/dropbox/test/__init__.py new file mode 100644 index 0000000..c01a4ab --- /dev/null +++ b/src/dropbox/test/__init__.py @@ -0,0 +1,26 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +# Hive Dropbox API +# Copyright (c) 2008-2024 Hive Solutions Lda. +# +# This file is part of Hive Dropbox API. +# +# Hive Dropbox API is free software: you can redistribute it and/or modify +# it under the terms of the Apache License as published by the Apache +# Foundation, either version 2.0 of the License, or (at your option) any +# later version. +# +# Hive Dropbox API 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 +# Apache License for more details. +# +# You should have received a copy of the Apache License along with +# Hive Dropbox API. If not, see . + +__copyright__ = "Copyright (c) 2008-2024 Hive Solutions Lda." +""" The copyright for the module """ + +__license__ = "Apache License, Version 2.0" +""" The license for the module """ diff --git a/src/dropbox/test/base.py b/src/dropbox/test/base.py new file mode 100644 index 0000000..021cef5 --- /dev/null +++ b/src/dropbox/test/base.py @@ -0,0 +1,37 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +# Hive Dropbox API +# Copyright (c) 2008-2024 Hive Solutions Lda. +# +# This file is part of Hive Dropbox API. +# +# Hive Dropbox API is free software: you can redistribute it and/or modify +# it under the terms of the Apache License as published by the Apache +# Foundation, either version 2.0 of the License, or (at your option) any +# later version. +# +# Hive Dropbox API 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 +# Apache License for more details. +# +# You should have received a copy of the Apache License along with +# Hive Dropbox API. If not, see . + +__author__ = "João Magalhães " +""" The author(s) of the module """ + +__copyright__ = "Copyright (c) 2008-2024 Hive Solutions Lda." +""" The copyright for the module """ + +__license__ = "Apache License, Version 2.0" +""" The license for the module """ + +import unittest + + +class BaseTest(unittest.TestCase): + + def test_basic(self): + self.assertEqual(1 + 1, 2)