예제 #1
0
def test_is_empty_not_empty_list():
    """Test for not empty list."""
    assert is_empty(["not empty"]) == False
예제 #2
0
def test_is_empty_empty_list():
    """Test for empty list."""
    assert is_empty([])
예제 #3
0
def test_is_empty_not_null_string():
    """Test for non-null string."""
    assert is_empty("not empty") == False
예제 #4
0
def test_is_empty_null_string():
    """Test for null string."""
    assert is_empty("")
예제 #5
0
def test_is_empty_not_empty_list():
    """Test for not empty list."""
    assert is_empty(["not empty"]) == False
예제 #6
0
def test_is_empty_not_null_string():
    """Test for non-null string."""
    assert is_empty("not empty") == False
예제 #7
0
def test_is_empty_empty_list():
    """Test for empty list."""
    assert is_empty([])
예제 #8
0
def test_is_empty_null_string():
    """Test for null string."""
    assert is_empty("")