Example #1
0
def test_is_upstream_string():
    output = platform.is_upstream(42, "test")
    assert output == False
Example #2
0
def test_is_upstream_no_args():
    with pytest.raises(TypeError):
        output = platform.is_upstream()
Example #3
0
def test_is_upstream_sixth_value():
    output = platform.is_upstream(2456, 4294967293)
    assert output == True
Example #4
0
def test_is_upstream_wrong_value():
    output = platform.is_upstream(8, 19)
    assert output == False
Example #5
0
def test_is_upstream_fifth_value():
    output = platform.is_upstream("test", 65533)
    assert output == True
Example #6
0
def test_is_upstream_fourth_value():
    output = platform.is_upstream(2.5, 4)
Example #7
0
def test_is_upstream_third_value():
    output = platform.is_upstream(-800, 3)
    assert output == True
Example #8
0
def test_is_upstream_second_value():
    output = platform.is_upstream(18, 2)
    assert output == True
Example #9
0
def test_is_upstream_first_value():
    output = platform.is_upstream(1, 1)
    assert output == True