Bug 8307: Add the option for activating deviation statements
[yangtools.git] / yang / yang-parser-impl / src / test / resources / deviation-resolution-test / deviation-add / foo-invalid-4.yang
index b48742aa16647045e80f7b82a2d3596bcc72cb11..2070d7718a5b0c57ec197fb4c9bd9c2f648fd7ac 100644 (file)
@@ -2,25 +2,16 @@ module foo {
     namespace foo;
     prefix foo;
 
+    import bar {
+        prefix bar;
+        revision-date 2017-02-01;
+    }
+
     revision 2017-02-01;
 
-    deviation "/my-cont/my-used-leaf" {
+    deviation "/bar:my-cont/bar:my-used-leaf" {
         deviate add {
             default 50;
         }
     }
-
-    container my-cont {
-        uses my-grouping {
-            refine my-used-leaf {
-                default "def-val-added-by-refine";
-            }
-        }
-    }
-
-    grouping my-grouping {
-        leaf my-used-leaf {
-            type int32;
-        }
-    }
 }
\ No newline at end of file