/*
 * User: anna
 * Date: 06-Mar-2008
 */
package com.jetbrains.python;

import com.intellij.codeInsight.intention.IntentionAction;
import com.jetbrains.python.fixtures.PyLightFixtureTestCase;

public class PythonDemorganLawIntentionTest extends PyLightFixtureTestCase {
  public void test1() throws Exception {
    doTest();
  }

  public void test2() throws Exception {
    doTest();
  }

  public void test3() throws Exception {
    doTest();
  }

  private void doTest() throws Exception {
    myFixture.configureByFile("before" + getTestName(false) + ".py");
    final IntentionAction action = myFixture.findSingleIntention("DeMorgan Law");
    myFixture.launchAction(action);

  }
  protected String getTestDataPath() {
    return PythonTestUtil.getTestDataPath() + "/intentions/demorgan";
  }
}
@@ -674,16 +674,87 @@
 action);
+%0A    myFixture.checkResultByFile(%22after%22 + getTestName(false) + %22.py%22);
 %0A%0A  %7D%0A  

add missing checkResultByFile()