예제 #1
0
    def test_check_create_raises(self):
        from pymapd.connection import _check_create

        with pytest.raises(ValueError):
            _check_create('foo')
예제 #2
0
    def test_check_create(self, create):
        from pymapd.connection import _check_create

        result = _check_create(create)
        assert result == create