6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-12 14:17:46 +00:00
tutor/plugins/minio/tests/test_plugin.py
Régis Behmo 3b108d21de 🔌 Introduce a plugin system for tutor
This adds the basic feratures that we need for a working plugin system,
but there are still many TODOs in the codebase.
2019-06-07 22:49:45 +02:00

13 lines
332 B
Python

import unittest
from tutorminio import plugin
class PluginTests(unittest.TestCase):
def test_patches(self):
patches = dict(plugin.patches())
self.assertIn("local-docker-compose-services", patches)
self.assertTrue(
patches["local-docker-compose-services"].startswith("# MinIO\n")
)