Verify our assumptions about SCM commands deleting files from checkout

BUG=131061

Review URL: https://codereview.chromium.org/319673003

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@275235 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/checkout.py b/checkout.py
index 15d548c..5ba4ba9 100644
--- a/checkout.py
+++ b/checkout.py
@@ -174,6 +174,7 @@
         filepath = os.path.join(self.project_path, p.filename)
         if p.is_delete:
           os.remove(filepath)
+          assert(not os.path.exists(filepath))
           stdout.append('Deleted.')
         else:
           dirname = os.path.dirname(p.filename)
@@ -361,6 +362,7 @@
         if p.is_delete:
           stdout.append(self._check_output_svn(
               ['delete', p.filename, '--force'], credentials=False))
+          assert(not os.path.exists(filepath))
           stdout.append('Deleted.')
         else:
           # svn add while creating directories otherwise svn add on the
@@ -654,6 +656,7 @@
             pass
           else:
             stdout.append(self._check_output_git(['rm', p.filename]))
+            assert(not os.path.exists(filepath))
             stdout.append('Deleted.')
         else:
           dirname = os.path.dirname(p.filename)