Browse Source

Typos fixed in multiple files (#2090)

SandeshPyakurel 1 year ago
parent
commit
5e2ce46ddb
2 changed files with 3 additions and 3 deletions
  1. 1 1
      tests/test_app.py
  2. 2 2
      tests/test_config.py

+ 1 - 1
tests/test_app.py

@@ -308,7 +308,7 @@ def test_initialize_with_custom_admin_dashboard(
 
 
 def test_initialize_admin_dashboard_with_view_overrides(test_model):
-    """Test setting the admin dashboard of an app with view class overriden.
+    """Test setting the admin dashboard of an app with view class overridden.
 
     Args:
         test_model: The default model.

+ 2 - 2
tests/test_config.py

@@ -139,7 +139,7 @@ DEFAULT_CONFIG = rx.Config(app_name="a")
                 "frontend_port": 3001,
             },
         ),
-        # Ports set in environment take precendence
+        # Ports set in environment take precedence
         (
             {"backend_port": 8001, "frontend_port": 3001},
             {"BACKEND_PORT": 8002},
@@ -151,7 +151,7 @@ DEFAULT_CONFIG = rx.Config(app_name="a")
                 "frontend_port": 3001,
             },
         ),
-        # Ports set on the command line take precendence
+        # Ports set on the command line take precedence
         (
             {"backend_port": 8001, "frontend_port": 3001},
             {"BACKEND_PORT": 8002},