We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94556ef commit b4db194Copy full SHA for b4db194
tests/smoke_test.py
@@ -0,0 +1,27 @@
1
+"""
2
+Minimal smoke test.
3
+
4
+This test verifies that the package can be installed and that
5
+its most basic public API is usable. It intentionally avoids
6
+test frameworks and any optional dependencies.
7
8
9
10
+def main():
11
+ import django
12
13
+ import bootstrap3
14
15
+ # Basic imports work
16
+ assert django.get_version()
17
+ assert hasattr(bootstrap3, "__version__")
18
19
+ # One minimal functional call
20
+ from bootstrap3.text import text_concat
21
22
+ combined = text_concat("alpha", "beta", separator="-")
23
+ assert combined == "alpha-beta"
24
25
26
+if __name__ == "__main__":
27
+ main()
0 commit comments