<gh_stars>0
import datetime
import unittest
import app


class AppTest(unittest.TestCase):
    def test_correct_time(self):
        self.assertEqual(app.get_current_time(),
                        str(datetime.datetime.now(datetime.timezone(datetime.timedelta(hours=3))).strftime("%Y-%m-%dT%H:%M:%S")))


if __name__ == '__main__':
    unittest.main()

import datetime
import unittest
import app


class AppTest(unittest.TestCase):
    def test_correct_time(self):
        self.assertEqual(app.get_current_time(),
                        str(datetime.datetime.now(datetime.timezone(datetime.timedelta(hours=3))).strftime("%Y-%m-%dT%H:%M:%S")))


if __name__ == '__main__':
    unittest.main()