Skip to content

Commit

Permalink
Reformated file
Browse files Browse the repository at this point in the history
  • Loading branch information
grzesiek2010 committed Oct 28, 2023
1 parent ba747cd commit 23f35ff
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/validators/pyxform/test_android_package_name.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ class TestAndroidPackageNameValidator(PyxformTestCase):
def test_empty_package_name(self):
result = validate_android_package_name("")
self.assertEqual(
result, "Parameter 'app' has an invalid Android package name - package name is missing."
result,
"Parameter 'app' has an invalid Android package name - package name is missing.",
)

def test_blank_package_name(self):
result = validate_android_package_name(" ")
self.assertEqual(
result, "Parameter 'app' has an invalid Android package name - package name is missing."
result,
"Parameter 'app' has an invalid Android package name - package name is missing.",
)

def test_missing_separator(self):
Expand All @@ -39,9 +41,7 @@ def test_invalid_character(self):

def test_package_name_segment_with_zero_length(self):
result = validate_android_package_name("com..app")
expected_error = (
"Parameter 'app' has an invalid Android package name - package segments must be of non-zero length."
)
expected_error = "Parameter 'app' has an invalid Android package name - package segments must be of non-zero length."
self.assertEqual(result, expected_error)

def test_separator_as_last_char_in_package_name(self):
Expand Down

0 comments on commit 23f35ff

Please sign in to comment.