import pytest

from dirdiff import compare


def test_compare_smoke():
    assert compare(None, None) == []


def test_compare_disk():
    expected = [
        'src/alanis_moriset.mp3'
    ]
    assert compare('test_data/1/src', 'test_data/1/dest') == expected


def test_compare_non_existent_directory():
    with pytest.raises(OSError):
        compare('test_data/1/src', 'test_data/1/sanmiguel')

@@ -392,8 +392,95 @@
 iguel')%0A
+%0A%0Adef test_compare_identity():%0A    compare('test_data/1/src', 'test_data/1/src') == %5B%5D%0A

test identity