Add RemoveFakeCharacteristic to BT test interface

We need to be able to simulate the removal of a characteristic.  This
addition to the interface seems to be the most straightforward way of
accomplishing this goal.

BUG=569709

Change-Id: If700ea99a6df9badc98fc81ef5f7461e574b7985
Reviewed-on: https://chromium-review.googlesource.com/583640
Reviewed-by: Daniel Cheng <[email protected]>
Reviewed-by: Vincent Scheib <[email protected]>
Commit-Queue: Conley Owens <[email protected]>
Cr-Commit-Position: refs/heads/master@{#491097}
diff --git a/third_party/WebKit/LayoutTests/bluetooth/generate.py b/third_party/WebKit/LayoutTests/bluetooth/generate.py
index 5c25368..8459967 100644
--- a/third_party/WebKit/LayoutTests/bluetooth/generate.py
+++ b/third_party/WebKit/LayoutTests/bluetooth/generate.py
@@ -119,13 +119,10 @@
         # replacing CALLS.
         new_test_file_data = new_test_file_data.replace('PREVIOUS_CALL', 'CALLS')
 
-        calls = result.group(1)
-        calls = ''.join(calls.split())    # Removes whitespace.
-        calls = calls.split('|')
-
-        for call in calls:
+        for call in result.group(1).split('|'):
             # Parse call
-            function_name, args, uuid_suffix = re.search(r'(.*?)\((.*?)\)(\[UUID\])?', call).groups()
+            call = call.strip()
+            function_name, args, uuid_suffix = re.search(r'(.*?)\((.*)\)(\[UUID\])?', call).groups()
 
             # Replace template tokens
             call_test_file_data = new_test_file_data