import pytest


@pytest.mark.usefixtures('dune')
class TestDuneAnalytics:
    """
    Class to test DuneAnalytics
    """
    def test_login(self, dune):
        # try to login
        dune.login()
        assert dune.auth_refresh is not None
        assert dune.username is not None
        assert dune.password is not None
        assert dune.token is None

    def test_fetch_auth_token(self, dune):
        # fetch authentication token
        dune.fetch_auth_token()
        assert dune.auth_refresh is not None
        assert dune.username is not None
        assert dune.password is not None
        assert dune.token is not None

    @pytest.mark.skip(reason='To be implemented')
    def test_query_result_id(self, dune):
        assert False

    @pytest.mark.skip(reason='To be implemented')
    def test_query_result(self, dune):
        assert False

725e1170c90cf2b2fdc850e77dc55539555c76cb
<mask token>


@pytest.mark.usefixtures('dune')
class TestDuneAnalytics:
    <mask token>
    <mask token>
    <mask token>
    <mask token>

    @pytest.mark.skip(reason='To be implemented')
    def test_query_result(self, dune):
        assert False

<mask token>


@pytest.mark.usefixtures('dune')
class TestDuneAnalytics:
    <mask token>

    def test_login(self, dune):
        dune.login()
        assert dune.auth_refresh is not None
        assert dune.username is not None
        assert dune.password is not None
        assert dune.token is None

    def test_fetch_auth_token(self, dune):
        dune.fetch_auth_token()
        assert dune.auth_refresh is not None
        assert dune.username is not None
        assert dune.password is not None
        assert dune.token is not None

    @pytest.mark.skip(reason='To be implemented')
    def test_query_result_id(self, dune):
        assert False

    @pytest.mark.skip(reason='To be implemented')
    def test_query_result(self, dune):
        assert False

<mask token>


@pytest.mark.usefixtures('dune')
class TestDuneAnalytics:
    """
    Class to test DuneAnalytics
    """

    def test_login(self, dune):
        dune.login()
        assert dune.auth_refresh is not None
        assert dune.username is not None
        assert dune.password is not None
        assert dune.token is None

    def test_fetch_auth_token(self, dune):
        dune.fetch_auth_token()
        assert dune.auth_refresh is not None
        assert dune.username is not None
        assert dune.password is not None
        assert dune.token is not None

    @pytest.mark.skip(reason='To be implemented')
    def test_query_result_id(self, dune):
        assert False

    @pytest.mark.skip(reason='To be implemented')
    def test_query_result(self, dune):
        assert False

import pytest


@pytest.mark.usefixtures('dune')
class TestDuneAnalytics:
    """
    Class to test DuneAnalytics
    """

    def test_login(self, dune):
        dune.login()
        assert dune.auth_refresh is not None
        assert dune.username is not None
        assert dune.password is not None
        assert dune.token is None

    def test_fetch_auth_token(self, dune):
        dune.fetch_auth_token()
        assert dune.auth_refresh is not None
        assert dune.username is not None
        assert dune.password is not None
        assert dune.token is not None

    @pytest.mark.skip(reason='To be implemented')
    def test_query_result_id(self, dune):
        assert False

    @pytest.mark.skip(reason='To be implemented')
    def test_query_result(self, dune):
        assert False

import pytest


@pytest.mark.usefixtures('dune')
class TestDuneAnalytics:
    """
    Class to test DuneAnalytics
    """
    def test_login(self, dune):
        # try to login
        dune.login()
        assert dune.auth_refresh is not None
        assert dune.username is not None
        assert dune.password is not None
        assert dune.token is None

    def test_fetch_auth_token(self, dune):
        # fetch authentication token
        dune.fetch_auth_token()
        assert dune.auth_refresh is not None
        assert dune.username is not None
        assert dune.password is not None
        assert dune.token is not None

    @pytest.mark.skip(reason='To be implemented')
    def test_query_result_id(self, dune):
        assert False

    @pytest.mark.skip(reason='To be implemented')
    def test_query_result(self, dune):
        assert False
