refactor: renamed app to lms

This commit is contained in:
Jannat Patel
2022-03-19 17:30:00 +05:30
parent 1b04615bff
commit c971d34d67
643 changed files with 227 additions and 235 deletions

16
lms/test_widgets.py Normal file
View File

@@ -0,0 +1,16 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2021, FOSS United and Contributors
# See license.txt
import frappe
import unittest
from .widgets import Widget, Widgets
class TestWidgets(unittest.TestCase):
def test_Widgets(self):
widgets = Widgets()
assert widgets.Foo.name == "Foo"
assert widgets.Bar.name == "Bar"
def _test_Widget(self):
hello = Widget("HelloWorld")
assert hello(name="Test") == "Hello, Test"